#2D4F16#2D4F16
#2D4F16 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.093 H 135.0°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F16 |
|---|---|
| RGB | rgb(45, 79, 22) |
| HSL | hsl(96, 56%, 20%) |
| HSV | hsv(96, 72%, 31%) |
| CMYK | cmyk(43%, 0%, 72.2%, 69%) |
| CIE-LAB | lab(29.93, -23.73, 28.76) |
| CIE-LCH | lch(29.93, 37.29, 129.52°) |
| OKLab | oklab(38.8% -0.066 0.066) |
| OKLCH | oklch(38.8% 0.093 135) |
| XYZ | xyz(4.0229, 6.2076, 1.7451) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.45
Forest Green
#2D5A27
ΔE00 4.45
Forrest Green
#154406
ΔE00 4.48
Darkgreen (survey)
#054907
ΔE00 5.10
Bottle Green
#044A05
ΔE00 5.11
British Racing Green
#05480D
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F16 #38164F
analogous
#4A4F16 #2D4F16 #164F1B
triadic
#2D4F16 #162D4F #4F162D
tetradic
#2D4F16 #164A4F #38164F #4F1B16
square
#2D4F16 #164A4F #38164F #4F1B16
split-complementary
#2D4F16 #1B164F #4F164A
monochromatic
#0E1807 #121F09 #2D4F16 #487F23 #64AF31
Accessibility & contrast
On white
9.37
#2D4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2D4F16 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F16
9.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F16 | 1.00 | 9.37 | 2.24 | 9.37 |
| #FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#52480E
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d4f16; /* rgb */ color: rgb(45, 79, 22); /* oklch */ color: oklch(38.8% 0.093 135.0);
Tailwind
colors: {
custom: {
50: '#698056',
500: '#2d4f16',
950: '#000000',
},
}SCSS
$custom: #2d4f16; $custom-light: #698056; $custom-dark: #000000;
JSON
{
"hex": "#2d4f16",
"rgb": {
"r": 45,
"g": 79,
"b": 22
},
"hsl": {
"h": 95.789,
"s": 56.436,
"l": 19.804
},
"oklch": {
"l": 0.38795,
"c": 0.09337,
"h": 135
},
"luminance": 0.06208
}Semantic roles & 50–950 ramp
primary
#2D4F16
secondary
#683A86
accent
#48E0A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78