#2F5F18#2F5F18
#2F5F18 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.114 H 137.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #2F5F18 |
|---|---|
| RGB | rgb(47, 95, 24) |
| HSL | hsl(101, 60%, 23%) |
| HSV | hsv(101, 75%, 37%) |
| CMYK | cmyk(50.5%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(35.70, -30.29, 33.96) |
| CIE-LCH | lch(35.70, 45.51, 131.73°) |
| OKLab | oklab(43.56% -0.0839 0.0772) |
| OKLCH | oklch(43.56% 0.114 137.4) |
| XYZ | xyz(5.4292, 8.8543, 2.2870) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.18
Deep Green
#02590F
ΔE00 4.56
Forest
#0B5509
ΔE00 4.70
Darkgreen
#006400
ΔE00 4.79
Navy Green
#35530A
ΔE00 4.94
Camouflage Green
#4B6113
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F5F18 #48185F
analogous
#525F18 #2F5F18 #185F24
triadic
#2F5F18 #182F5F #5F182F
tetradic
#2F5F18 #18525F #48185F #5F2418
square
#2F5F18 #18525F #48185F #5F2418
split-complementary
#2F5F18 #24185F #5F1852
monochromatic
#0C1806 #172E0C #2F5F18 #479024 #5FC131
Accessibility & contrast
On white
7.58
#2F5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#2F5F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F5F18
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F5F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F5F18 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62560D
Deuteranopia (green-blind)
#5C521F
Tritanopia (blue-blind)
#2C5B51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2f5f18; /* rgb */ color: rgb(47, 95, 24); /* oklch */ color: oklch(43.6% 0.114 137.4);
Tailwind
colors: {
custom: {
50: '#6d8d59',
500: '#2f5f18',
950: '#000000',
},
}SCSS
$custom: #2f5f18; $custom-light: #6d8d59; $custom-dark: #000000;
JSON
{
"hex": "#2f5f18",
"rgb": {
"r": 47,
"g": 95,
"b": 24
},
"hsl": {
"h": 100.563,
"s": 59.664,
"l": 23.333
},
"oklch": {
"l": 0.43559,
"c": 0.11396,
"h": 137.4
},
"luminance": 0.08855
}Semantic roles & 50–950 ramp
primary
#2F5F18
secondary
#793D95
accent
#45E3B0
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C04
muted
#7A7D79