#2C5F17#2C5F17
#2C5F17 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.4% C 0.116 H 138.2°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C5F17 |
|---|---|
| RGB | rgb(44, 95, 23) |
| HSL | hsl(103, 61%, 23%) |
| HSV | hsv(103, 76%, 37%) |
| CMYK | cmyk(53.7%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(35.56, -31.40, 34.20) |
| CIE-LCH | lch(35.56, 46.43, 132.55°) |
| OKLab | oklab(43.4% -0.0867 0.0776) |
| OKLCH | oklch(43.4% 0.116 138.2) |
| XYZ | xyz(5.2854, 8.7814, 2.2269) |
| Luminance | 0.0878 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 4.15
Forest Green
#2D5A27
ΔE00 4.22
Forest
#0B5509
ΔE00 4.36
Darkgreen
#006400
ΔE00 4.39
Navy Green
#35530A
ΔE00 5.20
Camouflage Green
#4B6113
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C5F17 #4A175F
analogous
#505F17 #2C5F17 #175F26
triadic
#2C5F17 #172C5F #5F172C
tetradic
#2C5F17 #17505F #4A175F #5F2617
square
#2C5F17 #17505F #4A175F #5F2617
split-complementary
#2C5F17 #26175F #5F1750
monochromatic
#0B1906 #152E0B #2C5F17 #439023 #5AC22F
Accessibility & contrast
On white
7.62
#2C5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.76
#2C5F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C5F17
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C5F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C5F17 | 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)
#62560B
Deuteranopia (green-blind)
#5B521E
Tritanopia (blue-blind)
#285B51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c5f17; /* rgb */ color: rgb(44, 95, 23); /* oklch */ color: oklch(43.4% 0.116 138.2);
Tailwind
colors: {
custom: {
50: '#6b8d59',
500: '#2c5f17',
950: '#000000',
},
}SCSS
$custom: #2c5f17; $custom-light: #6b8d59; $custom-dark: #000000;
JSON
{
"hex": "#2c5f17",
"rgb": {
"r": 44,
"g": 95,
"b": 23
},
"hsl": {
"h": 102.5,
"s": 61.017,
"l": 23.137
},
"oklch": {
"l": 0.43402,
"c": 0.11634,
"h": 138.2
},
"luminance": 0.08782
}Semantic roles & 50–950 ramp
primary
#2C5F17
secondary
#7C3C96
accent
#44E4B5
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79