#2E2902#2E2902
#2E2902 is a dark, muted yellow. Relative luminance 0.022; OKLCH L 27.8% C 0.056 H 102.0°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2E2902 |
|---|---|
| RGB | rgb(46, 41, 2) |
| HSL | hsl(53, 92%, 9%) |
| HSV | hsv(53, 96%, 18%) |
| CMYK | cmyk(0%, 10.9%, 95.7%, 82%) |
| CIE-LAB | lab(16.36, -3.06, 22.85) |
| CIE-LCH | lch(16.36, 23.05, 97.63°) |
| OKLab | oklab(27.79% -0.0116 0.0547) |
| OKLCH | oklch(27.79% 0.056 102) |
| XYZ | xyz(1.9307, 2.1712, 0.3748) |
| Luminance | 0.0217 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Olive
#373E02
ΔE00 8.83
Dark Brown
#341C02
ΔE00 13.31
Green Brown
#544E03
ΔE00 13.72
Mud Brown
#60460F
ΔE00 14.05
Dark Olive Green
#3C4D03
ΔE00 14.10
Espresso
#4B382A
ΔE00 14.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E2902 #02072E
analogous
#2E1302 #2E2902 #1D2E02
triadic
#2E2902 #022E29 #29022E
tetradic
#2E2902 #022E13 #02072E #2E021D
square
#2E2902 #022E13 #02072E #2E021D
split-complementary
#2E2902 #021D2E #13022E
monochromatic
#1D1A01 #1D1A01 #2E2902 #695D05 #A39207
Accessibility & contrast
On white
14.64
#2E2902 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#2E2902 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E2902
14.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E2902 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E2902 | 1.00 | 14.64 | 1.43 | 14.64 |
| #FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E2700
Deuteranopia (green-blind)
#2F2904
Tritanopia (blue-blind)
#322522
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #2e2902; /* rgb */ color: rgb(46, 41, 2); /* oklch */ color: oklch(27.8% 0.056 102.0);
Tailwind
colors: {
custom: {
50: '#686248',
500: '#2e2902',
950: '#000000',
},
}SCSS
$custom: #2e2902; $custom-light: #686248; $custom-dark: #000000;
JSON
{
"hex": "#2e2902",
"rgb": {
"r": 46,
"g": 41,
"b": 2
},
"hsl": {
"h": 53.182,
"s": 91.667,
"l": 9.412
},
"oklch": {
"l": 0.27794,
"c": 0.05591,
"h": 102
},
"luminance": 0.02171
}Semantic roles & 50–950 ramp
primary
#2E2902
secondary
#192373
accent
#41FF29
background
#F6F5F4
surface
#EBEAE6
border
#C6C6C2
text
#060500
muted
#7A7977