#2D5910#2D5910
#2D5910 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.7% C 0.112 H 136.0°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5910 |
|---|---|
| RGB | rgb(45, 89, 16) |
| HSL | hsl(96, 70%, 21%) |
| HSV | hsv(96, 82%, 35%) |
| CMYK | cmyk(49.4%, 0%, 82%, 65.1%) |
| CIE-LAB | lab(33.44, -28.94, 34.92) |
| CIE-LCH | lch(33.44, 45.35, 129.65°) |
| OKLab | oklab(41.65% -0.0806 0.0779) |
| OKLCH | oklch(41.65% 0.112 136) |
| XYZ | xyz(4.7480, 7.7398, 1.7338) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Navy Green
#35530A
ΔE00 3.21
Forest
#0B5509
ΔE00 3.98
Forest Green
#2D5A27
ΔE00 4.46
Deep Green
#02590F
ΔE00 4.52
Darkgreen
#006400
ΔE00 5.73
Bottle Green
#044A05
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5910 #3C1059
analogous
#515910 #2D5910 #105917
triadic
#2D5910 #102D59 #59102D
tetradic
#2D5910 #105159 #3C1059 #591710
square
#2D5910 #105159 #3C1059 #591710
split-complementary
#2D5910 #171059 #591051
monochromatic
#0D1A05 #132507 #2D5910 #478D19 #61C123
Accessibility & contrast
On white
8.24
#2D5910 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2D5910 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5910
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5910 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5910 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5102
Deuteranopia (green-blind)
#574D18
Tritanopia (blue-blind)
#2B554B
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2d5910; /* rgb */ color: rgb(45, 89, 16); /* oklch */ color: oklch(41.7% 0.112 136.0);
Tailwind
colors: {
custom: {
50: '#6b8854',
500: '#2d5910',
950: '#000000',
},
}SCSS
$custom: #2d5910; $custom-light: #6b8854; $custom-dark: #000000;
JSON
{
"hex": "#2d5910",
"rgb": {
"r": 45,
"g": 89,
"b": 16
},
"hsl": {
"h": 96.164,
"s": 69.524,
"l": 20.588
},
"oklch": {
"l": 0.41652,
"c": 0.11216,
"h": 136
},
"luminance": 0.0774
}Semantic roles & 50–950 ramp
primary
#2D5910
secondary
#6C3392
accent
#3BECA6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78