#313B2A#313B2A
#313B2A is a dark, muted yellow-green. Relative luminance 0.039; OKLCH L 33.8% C 0.032 H 132.7°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).
Color values
| HEX | #313B2A |
|---|---|
| RGB | rgb(49, 59, 42) |
| HSL | hsl(95, 17%, 20%) |
| HSV | hsv(95, 29%, 23%) |
| CMYK | cmyk(16.9%, 0%, 28.8%, 76.9%) |
| CIE-LAB | lab(23.50, -7.99, 9.20) |
| CIE-LCH | lch(23.50, 12.19, 130.97°) |
| OKLab | oklab(33.77% -0.0216 0.0234) |
| OKLCH | oklch(33.77% 0.032 132.7) |
| XYZ | xyz(3.2484, 3.9480, 2.7809) |
| Luminance | 0.0395 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Charcoal (survey)
#343837
ΔE00 9.38
Charcoal Grey
#3C4142
ΔE00 10.90
Dark Grey
#363737
ΔE00 10.92
Onyx
#353839
ΔE00 11.05
Dark Olive
#373E02
ΔE00 12.06
Very Dark Green
#062E03
ΔE00 12.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313B2A #342A3B
analogous
#3A3B2A #313B2A #2A3B2C
triadic
#313B2A #2A313B #3B2A31
tetradic
#313B2A #2A3A3B #342A3B #3B2C2A
square
#313B2A #2A3A3B #342A3B #3B2C2A
split-complementary
#313B2A #2C2A3B #3B2A3A
monochromatic
#0F120D #131711 #313B2A #4F5F43 #6C835D
Accessibility & contrast
On white
11.73
#313B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#313B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313B2A
11.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313B2A | 1.00 | 11.73 | 1.79 | 11.73 |
| #FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3829
Deuteranopia (green-blind)
#3B382B
Tritanopia (blue-blind)
#313A36
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #313b2a; /* rgb */ color: rgb(49, 59, 42); /* oklch */ color: oklch(33.8% 0.032 132.7);
Tailwind
colors: {
custom: {
50: '#697163',
500: '#313b2a',
950: '#000000',
},
}SCSS
$custom: #313b2a; $custom-light: #697163; $custom-dark: #000000;
JSON
{
"hex": "#313b2a",
"rgb": {
"r": 49,
"g": 59,
"b": 42
},
"hsl": {
"h": 95.294,
"s": 16.832,
"l": 19.804
},
"oklch": {
"l": 0.33765,
"c": 0.03181,
"h": 132.7
},
"luminance": 0.03948
}Semantic roles & 50–950 ramp
primary
#313B2A
secondary
#62556C
accent
#6EBA9B
background
#F6F6F5
surface
#EBECEA
border
#C6C7C6
text
#060705
muted
#7A7A79