#0F5F17#0F5F17
#0F5F17 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.128 H 144.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F17 |
|---|---|
| RGB | rgb(15, 95, 23) |
| HSL | hsl(126, 73%, 22%) |
| HSV | hsv(126, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(34.70, -38.39, 33.04) |
| CIE-LCH | lch(34.70, 50.65, 139.29°) |
| OKLab | oklab(42.44% -0.1038 0.0754) |
| OKLCH | oklch(42.44% 0.128 144) |
| XYZ | xyz(4.4436, 8.3473, 2.1874) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.00
Forest
#0B5509
ΔE00 3.28
Darkgreen
#006400
ΔE00 3.36
Forest Green
#2D5A27
ΔE00 4.88
Bottle Green
#044A05
ΔE00 6.54
Pine
#2B5D34
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F17 #5F0F57
analogous
#2F5F0F #0F5F17 #0F5F3F
triadic
#0F5F17 #170F5F #5F170F
tetradic
#0F5F17 #0F2F5F #5F0F57 #5F3F0F
square
#0F5F17 #0F2F5F #5F0F57 #5F3F0F
split-complementary
#0F5F17 #3F0F5F #5F0F2F
monochromatic
#041A06 #072A0A #0F5F17 #179424 #20C931
Accessibility & contrast
On white
7.87
#0F5F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0F5F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F17
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F17 | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#584F1E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f17; /* rgb */ color: rgb(15, 95, 23); /* oklch */ color: oklch(42.4% 0.128 144.0);
Tailwind
colors: {
custom: {
50: '#5e8d59',
500: '#0f5f17',
950: '#000000',
},
}SCSS
$custom: #0f5f17; $custom-light: #5e8d59; $custom-dark: #000000;
JSON
{
"hex": "#0f5f17",
"rgb": {
"r": 15,
"g": 95,
"b": 23
},
"hsl": {
"h": 126,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42443,
"c": 0.1283,
"h": 144
},
"luminance": 0.08348
}Semantic roles & 50–950 ramp
primary
#0F5F17
secondary
#98328E
accent
#38DDEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79