#0F5B17#0F5B17
#0F5B17 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.123 H 144.2°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B17 |
|---|---|
| RGB | rgb(15, 91, 23) |
| HSL | hsl(126, 72%, 21%) |
| HSV | hsv(126, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 74.7%, 64.3%) |
| CIE-LAB | lab(33.23, -36.96, 31.50) |
| CIE-LCH | lch(33.23, 48.56, 139.56°) |
| OKLab | oklab(41.23% -0.0999 0.0722) |
| OKLCH | oklch(41.23% 0.123 144.2) |
| XYZ | xyz(4.0925, 7.6451, 2.0704) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.20
Forest
#0B5509
ΔE00 2.32
Forest Green
#2D5A27
ΔE00 4.28
Darkgreen
#006400
ΔE00 4.47
Bottle Green
#044A05
ΔE00 5.32
Darkgreen (survey)
#054907
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B17 #5B0F53
analogous
#2D5B0F #0F5B17 #0F5B3D
triadic
#0F5B17 #170F5B #5B170F
tetradic
#0F5B17 #0F2D5B #5B0F53 #5B3D0F
square
#0F5B17 #0F2D5B #5B0F53 #5B3D0F
split-complementary
#0F5B17 #3D0F5B #5B0F2D
monochromatic
#041A07 #06260A #0F5B17 #189024 #20C432
Accessibility & contrast
On white
8.30
#0F5B17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#0F5B17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B17
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B17 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#554C1E
Tritanopia (blue-blind)
#00584D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5b17; /* rgb */ color: rgb(15, 91, 23); /* oklch */ color: oklch(41.2% 0.123 144.2);
Tailwind
colors: {
custom: {
50: '#5d8a58',
500: '#0f5b17',
950: '#000000',
},
}SCSS
$custom: #0f5b17; $custom-light: #5d8a58; $custom-dark: #000000;
JSON
{
"hex": "#0f5b17",
"rgb": {
"r": 15,
"g": 91,
"b": 23
},
"hsl": {
"h": 126.316,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41227,
"c": 0.12325,
"h": 144.2
},
"luminance": 0.07646
}Semantic roles & 50–950 ramp
primary
#0F5B17
secondary
#95318A
accent
#39DBEE
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78