#0F5F18#0F5F18
#0F5F18 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.128 H 144.2°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F18 |
|---|---|
| RGB | rgb(15, 95, 24) |
| HSL | hsl(127, 73%, 22%) |
| HSV | hsv(127, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(34.70, -38.29, 32.61) |
| CIE-LCH | lch(34.70, 50.30, 139.58°) |
| OKLab | oklab(42.45% -0.1035 0.0746) |
| OKLCH | oklch(42.45% 0.128 144.2) |
| XYZ | xyz(4.4538, 8.3514, 2.2412) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.03
Forest
#0B5509
ΔE00 3.33
Darkgreen
#006400
ΔE00 3.51
Forest Green
#2D5A27
ΔE00 4.79
Bottle Green
#044A05
ΔE00 6.55
Pine
#2B5D34
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F18 #5F0F56
analogous
#2E5F0F #0F5F18 #0F5F40
triadic
#0F5F18 #180F5F #5F180F
tetradic
#0F5F18 #0F2E5F #5F0F56 #5F400F
square
#0F5F18 #0F2E5F #5F0F56 #5F400F
split-complementary
#0F5F18 #400F5F #5F0F2E
monochromatic
#041A07 #072A0B #0F5F18 #179425 #20C933
Accessibility & contrast
On white
7.86
#0F5F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0F5F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F18
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F18 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550D
Deuteranopia (green-blind)
#584F1F
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f18; /* rgb */ color: rgb(15, 95, 24); /* oklch */ color: oklch(42.5% 0.128 144.2);
Tailwind
colors: {
custom: {
50: '#5e8d59',
500: '#0f5f18',
950: '#000000',
},
}SCSS
$custom: #0f5f18; $custom-light: #5e8d59; $custom-dark: #000000;
JSON
{
"hex": "#0f5f18",
"rgb": {
"r": 15,
"g": 95,
"b": 24
},
"hsl": {
"h": 126.75,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42453,
"c": 0.12759,
"h": 144.2
},
"luminance": 0.08352
}Semantic roles & 50–950 ramp
primary
#0F5F18
secondary
#98328D
accent
#38DBEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79