#2D4F0D#2D4F0D
#2D4F0D is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.100 H 133.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2D4F0D |
|---|---|
| RGB | rgb(45, 79, 13) |
| HSL | hsl(91, 72%, 18%) |
| HSV | hsv(91, 84%, 31%) |
| CMYK | cmyk(43%, 0%, 83.5%, 69%) |
| CIE-LAB | lab(29.86, -24.47, 32.61) |
| CIE-LCH | lch(29.86, 40.76, 126.88°) |
| OKLab | oklab(38.71% -0.0688 0.0726) |
| OKLCH | oklch(38.71% 0.1 133.5) |
| XYZ | xyz(3.9508, 6.1787, 1.3651) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 2.20
Forrest Green
#154406
ΔE00 4.71
Dark Olive Green
#3C4D03
ΔE00 4.94
Forest
#0B5509
ΔE00 5.23
Bottle Green
#044A05
ΔE00 5.24
Darkgreen (survey)
#054907
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D4F0D #2F0D4F
analogous
#4E4F0D #2D4F0D #0D4F0E
triadic
#2D4F0D #0D2D4F #4F0D2D
tetradic
#2D4F0D #0D4E4F #2F0D4F #4F0E0D
square
#2D4F0D #0D4E4F #2F0D4F #4F0E0D
split-complementary
#2D4F0D #0E0D4F #4F0D4E
monochromatic
#0F1A04 #0F1A04 #2D4F0D #4B8416 #69B81E
Accessibility & contrast
On white
9.39
#2D4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2D4F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D4F0D
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D4F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D4F0D | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534801
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#2D4C43
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2d4f0d; /* rgb */ color: rgb(45, 79, 13); /* oklch */ color: oklch(38.7% 0.100 133.5);
Tailwind
colors: {
custom: {
50: '#6a8051',
500: '#2d4f0d',
950: '#000000',
},
}SCSS
$custom: #2d4f0d; $custom-light: #6a8051; $custom-dark: #000000;
JSON
{
"hex": "#2d4f0d",
"rgb": {
"r": 45,
"g": 79,
"b": 13
},
"hsl": {
"h": 90.909,
"s": 71.739,
"l": 18.039
},
"oklch": {
"l": 0.38714,
"c": 0.10003,
"h": 133.5
},
"luminance": 0.06179
}Semantic roles & 50–950 ramp
primary
#2D4F0D
secondary
#5D2E8A
accent
#39EE97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78