#2D5F0D#2D5F0D
#2D5F0D is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.122 H 136.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5F0D |
|---|---|
| RGB | rgb(45, 95, 13) |
| HSL | hsl(97, 76%, 21%) |
| HSV | hsv(97, 86%, 37%) |
| CMYK | cmyk(52.6%, 0%, 86.3%, 62.7%) |
| CIE-LAB | lab(35.54, -31.77, 37.94) |
| CIE-LCH | lch(35.54, 49.49, 129.94°) |
| OKLab | oklab(43.38% -0.0885 0.0838) |
| OKLCH | oklch(43.38% 0.122 136.6) |
| XYZ | xyz(5.2469, 8.7710, 1.7972) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.21
Forest
#0B5509
ΔE00 4.80
Deep Green
#02590F
ΔE00 4.80
Navy Green
#35530A
ΔE00 4.82
Forest Green
#2D5A27
ΔE00 5.56
Camouflage Green
#4B6113
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5F0D #3F0D5F
analogous
#565F0D #2D5F0D #0D5F16
triadic
#2D5F0D #0D2D5F #5F0D2D
tetradic
#2D5F0D #0D565F #3F0D5F #5F160D
square
#2D5F0D #0D565F #3F0D5F #5F160D
split-complementary
#2D5F0D #160D5F #5F0D56
monochromatic
#0D1B04 #132906 #2D5F0D #469514 #60CB1C
Accessibility & contrast
On white
7.62
#2D5F0D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#2D5F0D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5F0D
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5F0D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5F0D | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#2A5B50
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d5f0d; /* rgb */ color: rgb(45, 95, 13); /* oklch */ color: oklch(43.4% 0.122 136.6);
Tailwind
colors: {
custom: {
50: '#6c8d54',
500: '#2d5f0d',
950: '#000000',
},
}SCSS
$custom: #2d5f0d; $custom-light: #6c8d54; $custom-dark: #000000;
JSON
{
"hex": "#2d5f0d",
"rgb": {
"r": 45,
"g": 95,
"b": 13
},
"hsl": {
"h": 96.585,
"s": 75.926,
"l": 21.176
},
"oklch": {
"l": 0.43377,
"c": 0.12184,
"h": 136.6
},
"luminance": 0.08771
}Semantic roles & 50–950 ramp
primary
#2D5F0D
secondary
#702F99
accent
#35F3A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78