#2D5928#2D5928
#2D5928 is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.9% C 0.091 H 141.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5928 |
|---|---|
| RGB | rgb(45, 89, 40) |
| HSL | hsl(114, 38%, 25%) |
| HSV | hsv(114, 55%, 35%) |
| CMYK | cmyk(49.4%, 0%, 55.1%, 65.1%) |
| CIE-LAB | lab(33.68, -26.33, 23.57) |
| CIE-LCH | lch(33.68, 35.33, 138.17°) |
| OKLab | oklab(41.93% -0.0718 0.0567) |
| OKLCH | oklch(41.93% 0.092 141.7) |
| XYZ | xyz(5.0373, 7.8555, 3.2579) |
| Luminance | 0.0786 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 0.53
Pine
#2B5D34
ΔE00 2.99
Hunter Green
#355E3B
ΔE00 4.44
Deep Green
#02590F
ΔE00 5.57
Forest
#0B5509
ΔE00 5.62
Spruce
#0A5F38
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5928 #542859
analogous
#455928 #2D5928 #28593C
triadic
#2D5928 #282D59 #59282D
tetradic
#2D5928 #284559 #542859 #593C28
square
#2D5928 #284559 #542859 #593C28
split-complementary
#2D5928 #3C2859 #592845
monochromatic
#0B1509 #182F15 #2D5928 #42833B #58AD4E
Accessibility & contrast
On white
8.17
#2D5928 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2D5928 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5928
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5928 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5928 | 1.00 | 8.17 | 2.57 | 8.17 |
| #FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B5224
Deuteranopia (green-blind)
#554E2B
Tritanopia (blue-blind)
#28564E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2d5928; /* rgb */ color: rgb(45, 89, 40); /* oklch */ color: oklch(41.9% 0.091 141.7);
Tailwind
colors: {
custom: {
50: '#698863',
500: '#2d5928',
950: '#000000',
},
}SCSS
$custom: #2d5928; $custom-light: #698863; $custom-dark: #000000;
JSON
{
"hex": "#2d5928",
"rgb": {
"r": 45,
"g": 89,
"b": 40
},
"hsl": {
"h": 113.878,
"s": 37.984,
"l": 25.294
},
"oklch": {
"l": 0.41932,
"c": 0.0915,
"h": 141.7
},
"luminance": 0.07856
}Semantic roles & 50–950 ramp
primary
#2D5928
secondary
#86518C
accent
#5ACEC2
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070B05
muted
#7A7C79