#2D5C18#2D5C18
#2D5C18 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.6% C 0.111 H 137.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2D5C18 |
|---|---|
| RGB | rgb(45, 92, 24) |
| HSL | hsl(101, 59%, 23%) |
| HSV | hsv(101, 74%, 36%) |
| CMYK | cmyk(51.1%, 0%, 73.9%, 63.9%) |
| CIE-LAB | lab(34.55, -29.64, 32.74) |
| CIE-LCH | lch(34.55, 44.16, 132.16°) |
| OKLab | oklab(42.59% -0.0819 0.0746) |
| OKLCH | oklch(42.59% 0.111 137.7) |
| XYZ | xyz(5.0740, 8.2778, 2.1944) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.50
Forest
#0B5509
ΔE00 4.04
Deep Green
#02590F
ΔE00 4.12
Navy Green
#35530A
ΔE00 4.42
Darkgreen
#006400
ΔE00 5.28
Pine
#2B5D34
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D5C18 #47185C
analogous
#4F5C18 #2D5C18 #185C25
triadic
#2D5C18 #182D5C #5C182D
tetradic
#2D5C18 #184F5C #47185C #5C2518
square
#2D5C18 #184F5C #47185C #5C2518
split-complementary
#2D5C18 #25185C #5C184F
monochromatic
#0C1806 #152B0B #2D5C18 #458D25 #5CBD31
Accessibility & contrast
On white
7.91
#2D5C18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#2D5C18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D5C18
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D5C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D5C18 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F540E
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#2A594E
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #2d5c18; /* rgb */ color: rgb(45, 92, 24); /* oklch */ color: oklch(42.6% 0.111 137.7);
Tailwind
colors: {
custom: {
50: '#6b8a59',
500: '#2d5c18',
950: '#000000',
},
}SCSS
$custom: #2d5c18; $custom-light: #6b8a59; $custom-dark: #000000;
JSON
{
"hex": "#2d5c18",
"rgb": {
"r": 45,
"g": 92,
"b": 24
},
"hsl": {
"h": 101.471,
"s": 58.621,
"l": 22.745
},
"oklch": {
"l": 0.42591,
"c": 0.11085,
"h": 137.7
},
"luminance": 0.08278
}Semantic roles & 50–950 ramp
primary
#2D5C18
secondary
#783D93
accent
#46E2B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79