#2C5A18#2C5A18
#2C5A18 is a dark, moderate green. Relative luminance 0.079; OKLCH L 42.0% C 0.109 H 137.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5A18 |
|---|---|
| RGB | rgb(44, 90, 24) |
| HSL | hsl(102, 58%, 22%) |
| HSV | hsv(102, 73%, 35%) |
| CMYK | cmyk(51.1%, 0%, 73.3%, 64.7%) |
| CIE-LAB | lab(33.80, -29.09, 31.93) |
| CIE-LCH | lch(33.80, 43.19, 132.33°) |
| OKLab | oklab(41.96% -0.0804 0.073) |
| OKLCH | oklch(41.96% 0.109 137.8) |
| XYZ | xyz(4.8596, 7.9134, 2.1353) |
| Luminance | 0.0791 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.18
Forest
#0B5509
ΔE00 3.77
Deep Green
#02590F
ΔE00 4.02
Navy Green
#35530A
ΔE00 4.15
Darkgreen
#006400
ΔE00 5.73
Bottle Green
#044A05
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5A18 #46185A
analogous
#4D5A18 #2C5A18 #185A25
triadic
#2C5A18 #182C5A #5A182C
tetradic
#2C5A18 #184D5A #46185A #5A2518
square
#2C5A18 #184D5A #46185A #5A2518
split-complementary
#2C5A18 #25185A #5A184D
monochromatic
#0C1806 #142A0B #2C5A18 #448A25 #5BBB32
Accessibility & contrast
On white
8.13
#2C5A18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#2C5A18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5A18
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5A18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5A18 | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520F
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#29574D
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2c5a18; /* rgb */ color: rgb(44, 90, 24); /* oklch */ color: oklch(42.0% 0.109 137.8);
Tailwind
colors: {
custom: {
50: '#6a8959',
500: '#2c5a18',
950: '#000000',
},
}SCSS
$custom: #2c5a18; $custom-light: #6a8959; $custom-dark: #000000;
JSON
{
"hex": "#2c5a18",
"rgb": {
"r": 44,
"g": 90,
"b": 24
},
"hsl": {
"h": 101.818,
"s": 57.895,
"l": 22.353
},
"oklch": {
"l": 0.4196,
"c": 0.10855,
"h": 137.8
},
"luminance": 0.07914
}Semantic roles & 50–950 ramp
primary
#2C5A18
secondary
#773D91
accent
#47E1B2
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B04
muted
#7A7C79