#2E2812#2E2812
#2E2812 is a dark, muted yellow. Relative luminance 0.021; OKLCH L 27.7% C 0.037 H 94.5°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2812 |
|---|---|
| RGB | rgb(46, 40, 18) |
| HSL | hsl(47, 44%, 13%) |
| HSV | hsv(47, 61%, 18%) |
| CMYK | cmyk(0%, 13%, 60.9%, 82%) |
| CIE-LAB | lab(16.22, -0.95, 15.36) |
| CIE-LCH | lch(16.22, 15.39, 93.52°) |
| OKLab | oklab(27.74% -0.0029 0.0368) |
| OKLCH | oklch(27.74% 0.037 94.5) |
| XYZ | xyz(1.9948, 2.1422, 0.8806) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Brown
#341C02
ΔE00 11.37
Espresso
#4B382A
ΔE00 11.40
Dark Olive
#373E02
ΔE00 12.16
Dark Grey
#363737
ΔE00 12.50
Charcoal (survey)
#343837
ΔE00 12.58
Onyx
#353839
ΔE00 13.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2812 #12182E
analogous
#2E1A12 #2E2812 #262E12
triadic
#2E2812 #122E28 #28122E
tetradic
#2E2812 #122E1A #12182E #2E1226
square
#2E2812 #122E1A #12182E #2E1226
split-complementary
#2E2812 #12262E #1A122E
monochromatic
#161309 #161309 #2E2812 #5A4E23 #867534
Accessibility & contrast
On white
14.70
#2E2812 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2E2812 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2812
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2812 | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C2710
Deuteranopia (green-blind)
#2E2913
Tritanopia (blue-blind)
#322523
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #2e2812; /* rgb */ color: rgb(46, 40, 18); /* oklch */ color: oklch(27.7% 0.037 94.5);
Tailwind
colors: {
custom: {
50: '#686150',
500: '#2e2812',
950: '#000000',
},
}SCSS
$custom: #2e2812; $custom-light: #686150; $custom-dark: #000000;
JSON
{
"hex": "#2e2812",
"rgb": {
"r": 46,
"g": 40,
"b": 18
},
"hsl": {
"h": 47.143,
"s": 43.75,
"l": 12.549
},
"oklch": {
"l": 0.27742,
"c": 0.03687,
"h": 94.5
},
"luminance": 0.02142
}Semantic roles & 50–950 ramp
primary
#2E2812
secondary
#364066
accent
#70D354
background
#F6F5F4
surface
#EBE9E7
border
#C6C5C3
text
#060502
muted
#7A7978