#313B23 color
The hex color #313B23 is a very dark, desaturated yellow-green.
In the RGB color model it is made of 19.2% red, 23.1% green and 13.7% blue (49, 59, 35).
Its hue angle is 85°, with 26% saturation and 18% lightness. For print, the CMYK equivalent is 17% cyan, 0% magenta, 41% yellow and 77% black.
The closest named color is Palm Leaf (#36482F), a difference of 4.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 11.79:1).
#313B23 color codes
| HEX | #313B23 | |
|---|---|---|
| RGB | rgb(49, 59, 35) | |
| RGB percent | rgb(19.2%, 23.1%, 13.7%) | |
| HSL | hsl(85, 26%, 18%) | |
| HSV / HSB | hsv(85, 41%, 23%) | |
| CMYK | cmyk(17%, 0%, 41%, 77%) | |
| CIE LAB | lab(23.35, -9.26, 13.55) | |
| CIE LCH | lch(23.35, 16.41, 124.36) | |
| CIE XYZ | xyz(3.134, 3.902, 2.178) | |
| Decimal | 3226403 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #313B23, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #313B23 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.78:1 | Fail | Fail | Fail |
| Sample text | 11.79:1 | Pass | Pass | Pass |
| #313B23 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 11.79:1 | Pass | Pass | Pass |
| Sample text | 1.78:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #313B23 looks to people with the most common types of color vision deficiency.
#3d3821Protanopia
no red cones#3c3724Deuteranopia
no green cones#323935Tritanopia
no blue cones#383838Achromatopsia
no color vision
CSS examples
.background { background-color: #313b23; }
.text { color: #313b23; }
.border { border: 2px solid #313b23; }
.transparent { background-color: rgb(49 59 35 / 50%); }
.gradient { background: linear-gradient(to right, #313b23, #253b23); }
Similar colors
#36482fPalm Leaf#223311Darkest Forest#2f441fForestry#424f3bHōjicha#394c3bMountain View#172808Lindworm Green#17240bMidnight Pines#21421eMyrtle
Closest common color name: Onyx.
Questions
- What color is #313B23?
- #313B23 is a very dark, desaturated yellow-green, closest to the named color Palm Leaf. It belongs to the green family of colors.
- What is the RGB value of #313B23?
- The RGB value is 49, 59, 35: 49 red, 59 green and 35 blue on a 0 to 255 scale.
- What is the complementary color of #313B23?
- The complementary color is #2D233B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #313B23?
- White text. Black text has a contrast ratio of 1.78:1 and white text 11.79:1. WCAG asks for at least 4.5:1 for normal text.