#0F5E17#0F5E17
#0F5E17 is a dark, vivid green. Relative luminance 0.082; OKLCH L 42.1% C 0.127 H 144.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E17 |
|---|---|
| RGB | rgb(15, 94, 23) |
| HSL | hsl(126, 72%, 21%) |
| HSV | hsv(126, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 75.5%, 63.1%) |
| CIE-LAB | lab(34.33, -38.04, 32.66) |
| CIE-LCH | lch(34.33, 50.13, 139.35°) |
| OKLab | oklab(42.14% -0.1028 0.0746) |
| OKLCH | oklch(42.14% 0.127 144.1) |
| XYZ | xyz(4.3541, 8.1683, 2.1576) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.73
Forest
#0B5509
ΔE00 3.01
Darkgreen
#006400
ΔE00 3.62
Forest Green
#2D5A27
ΔE00 4.70
Bottle Green
#044A05
ΔE00 6.23
Darkgreen (survey)
#054907
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E17 #5E0F56
analogous
#2F5E0F #0F5E17 #0F5E3F
triadic
#0F5E17 #170F5E #5E170F
tetradic
#0F5E17 #0F2F5E #5E0F56 #5E3F0F
square
#0F5E17 #0F2F5E #5E0F56 #5E3F0F
split-complementary
#0F5E17 #3F0F5E #5E0F2F
monochromatic
#041A06 #07290A #0F5E17 #179324 #20C831
Accessibility & contrast
On white
7.97
#0F5E17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#0F5E17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E17
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E17 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60540C
Deuteranopia (green-blind)
#574E1E
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e17; /* rgb */ color: rgb(15, 94, 23); /* oklch */ color: oklch(42.1% 0.127 144.1);
Tailwind
colors: {
custom: {
50: '#5e8d59',
500: '#0f5e17',
950: '#000000',
},
}SCSS
$custom: #0f5e17; $custom-light: #5e8d59; $custom-dark: #000000;
JSON
{
"hex": "#0f5e17",
"rgb": {
"r": 15,
"g": 94,
"b": 23
},
"hsl": {
"h": 126.076,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.4214,
"c": 0.12704,
"h": 144.1
},
"luminance": 0.08169
}Semantic roles & 50–950 ramp
primary
#0F5E17
secondary
#97318D
accent
#39DDEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79