#2E3A02#2E3A02
#2E3A02 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.077 H 121.9°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).
Color values
| HEX | #2E3A02 |
|---|---|
| RGB | rgb(46, 58, 2) |
| HSL | hsl(73, 93%, 12%) |
| HSV | hsv(73, 97%, 23%) |
| CMYK | cmyk(20.7%, 0%, 96.6%, 77.3%) |
| CIE-LAB | lab(22.34, -13.64, 29.73) |
| CIE-LCH | lch(22.34, 32.71, 114.65°) |
| OKLab | oklab(32.59% -0.0407 0.0654) |
| OKLCH | oklch(32.59% 0.077 121.9) |
| XYZ | xyz(2.6508, 3.6113, 0.6148) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Dark Olive
#373E02
ΔE00 2.67
Dark Olive Green
#3C4D03
ΔE00 6.49
Forrest Green
#154406
ΔE00 8.20
Navy Green
#35530A
ΔE00 8.66
Hunter Green (survey)
#0B4008
ΔE00 8.91
Dark Green
#033500
ΔE00 9.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2E3A02 #0E023A
analogous
#3A2A02 #2E3A02 #123A02
triadic
#2E3A02 #022E3A #3A022E
tetradic
#2E3A02 #023A2A #0E023A #3A0212
square
#2E3A02 #023A2A #0E023A #3A0212
split-complementary
#2E3A02 #02123A #2A023A
monochromatic
#171E01 #171E01 #2E3A02 #5D7504 #8CB006
Accessibility & contrast
On white
12.19
#2E3A02 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2E3A02 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2E3A02
12.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2E3A02 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2E3A02 | 1.00 | 12.19 | 1.72 | 12.19 |
| #FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D3507
Tritanopia (blue-blind)
#313630
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2e3a02; /* rgb */ color: rgb(46, 58, 2); /* oklch */ color: oklch(32.6% 0.077 121.9);
Tailwind
colors: {
custom: {
50: '#697049',
500: '#2e3a02',
950: '#000000',
},
}SCSS
$custom: #2e3a02; $custom-light: #697049; $custom-dark: #000000;
JSON
{
"hex": "#2e3a02",
"rgb": {
"r": 46,
"g": 58,
"b": 2
},
"hsl": {
"h": 72.857,
"s": 93.333,
"l": 11.765
},
"oklch": {
"l": 0.32592,
"c": 0.07704,
"h": 121.9
},
"luminance": 0.03611
}Semantic roles & 50–950 ramp
primary
#2E3A02
secondary
#301A7D
accent
#29FF57
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77