#2F331F#2F331F
#2F331F is a dark, muted yellow-green. Relative luminance 0.031; OKLCH L 31.1% C 0.034 H 117.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F331F |
|---|---|
| RGB | rgb(47, 51, 31) |
| HSL | hsl(72, 24%, 16%) |
| HSV | hsv(72, 39%, 20%) |
| CMYK | cmyk(7.8%, 0%, 39.2%, 80%) |
| CIE-LAB | lab(20.33, -5.86, 12.14) |
| CIE-LCH | lch(20.33, 13.48, 115.75°) |
| OKLab | oklab(31.11% -0.0158 0.0302) |
| OKLCH | oklch(31.11% 0.034 117.6) |
| XYZ | xyz(2.6034, 3.0709, 1.7517) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Charcoal (survey)
#343837
ΔE00 10.16
Dark Olive
#373E02
ΔE00 10.58
Dark Grey
#363737
ΔE00 11.17
Onyx
#353839
ΔE00 11.69
Charcoal Grey
#3C4142
ΔE00 12.32
Very Dark Green
#062E03
ΔE00 12.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F331F #231F33
analogous
#332D1F #2F331F #25331F
triadic
#2F331F #1F2F33 #331F2F
tetradic
#2F331F #1F332D #231F33 #331F25
square
#2F331F #1F332D #231F33 #331F25
split-complementary
#2F331F #1F2533 #2D1F33
monochromatic
#12130C #12130C #2F331F #525936 #757F4D
Accessibility & contrast
On white
13.01
#2F331F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#2F331F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F331F
13.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F331F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F331F | 1.00 | 13.01 | 1.61 | 13.01 |
| #FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36311E
Deuteranopia (green-blind)
#353120
Tritanopia (blue-blind)
#31312E
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2f331f; /* rgb */ color: rgb(47, 51, 31); /* oklch */ color: oklch(31.1% 0.034 117.6);
Tailwind
colors: {
custom: {
50: '#686a5a',
500: '#2f331f',
950: '#000000',
},
}SCSS
$custom: #2f331f; $custom-light: #686a5a; $custom-dark: #000000;
JSON
{
"hex": "#2f331f",
"rgb": {
"r": 47,
"g": 51,
"b": 31
},
"hsl": {
"h": 72,
"s": 24.39,
"l": 16.078
},
"oklch": {
"l": 0.31108,
"c": 0.03404,
"h": 117.6
},
"luminance": 0.03071
}Semantic roles & 50–950 ramp
primary
#2F331F
secondary
#4E4866
accent
#67C179
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79