#2D5F0F#2D5F0F
#2D5F0F is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.121 H 136.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5F0F |
|---|---|
| RGB | rgb(45, 95, 15) |
| HSL | hsl(98, 73%, 22%) |
| HSV | hsv(98, 84%, 37%) |
| CMYK | cmyk(52.6%, 0%, 84.2%, 62.7%) |
| CIE-LAB | lab(35.55, -31.65, 37.29) |
| CIE-LCH | lch(35.55, 48.91, 130.33°) |
| OKLab | oklab(43.39% -0.088 0.0827) |
| OKLCH | oklch(43.39% 0.121 136.8) |
| XYZ | xyz(5.2605, 8.7764, 1.8687) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Darkgreen
#006400
ΔE00 4.22
Deep Green
#02590F
ΔE00 4.69
Forest
#0B5509
ΔE00 4.72
Navy Green
#35530A
ΔE00 4.84
Forest Green
#2D5A27
ΔE00 5.33
Camouflage Green
#4B6113
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5F0F #410F5F
analogous
#555F0F #2D5F0F #0F5F19
triadic
#2D5F0F #0F2D5F #5F0F2D
tetradic
#2D5F0F #0F555F #410F5F #5F190F
square
#2D5F0F #0F555F #410F5F #5F190F
split-complementary
#2D5F0F #190F5F #5F0F55
monochromatic
#0D1A04 #142A07 #2D5F0F #469417 #5FC920
Accessibility & contrast
On white
7.62
#2D5F0F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2D5F0F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5F0F
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5F0F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5F0F | 1.00 | 7.62 | 2.76 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.76 | 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)
#5C5218
Tritanopia (blue-blind)
#2A5B50
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2d5f0f; /* rgb */ color: rgb(45, 95, 15); /* oklch */ color: oklch(43.4% 0.121 136.8);
Tailwind
colors: {
custom: {
50: '#6c8d55',
500: '#2d5f0f',
950: '#000000',
},
}SCSS
$custom: #2d5f0f; $custom-light: #6c8d55; $custom-dark: #000000;
JSON
{
"hex": "#2d5f0f",
"rgb": {
"r": 45,
"g": 95,
"b": 15
},
"hsl": {
"h": 97.5,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.43389,
"c": 0.1208,
"h": 136.8
},
"luminance": 0.08777
}Semantic roles & 50–950 ramp
primary
#2D5F0F
secondary
#723298
accent
#38EFAB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78