#0F5F1E#0F5F1E
#0F5F1E is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.123 H 145.5°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F1E |
|---|---|
| RGB | rgb(15, 95, 30) |
| HSL | hsl(131, 73%, 22%) |
| HSV | hsv(131, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 68.4%, 62.7%) |
| CIE-LAB | lab(34.76, -37.60, 29.87) |
| CIE-LCH | lch(34.76, 48.03, 141.53°) |
| OKLab | oklab(42.52% -0.1013 0.0696) |
| OKLCH | oklch(42.52% 0.123 145.5) |
| XYZ | xyz(4.5232, 8.3792, 2.6070) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.53
Forest
#0B5509
ΔE00 3.81
Forest Green
#2D5A27
ΔE00 4.32
Darkgreen
#006400
ΔE00 4.49
Pine
#2B5D34
ΔE00 5.68
Spruce
#0A5F38
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F1E #5F0F50
analogous
#285F0F #0F5F1E #0F5F46
triadic
#0F5F1E #1E0F5F #5F1E0F
tetradic
#0F5F1E #0F285F #5F0F50 #5F460F
square
#0F5F1E #0F285F #5F0F50 #5F460F
split-complementary
#0F5F1E #460F5F #5F0F28
monochromatic
#041A08 #072A0D #0F5F1E #17942F #20C93F
Accessibility & contrast
On white
7.85
#0F5F1E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0F5F1E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F1E
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F1E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F1E | 1.00 | 7.85 | 2.68 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615516
Deuteranopia (green-blind)
#584F24
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f1e; /* rgb */ color: rgb(15, 95, 30); /* oklch */ color: oklch(42.5% 0.123 145.5);
Tailwind
colors: {
custom: {
50: '#5e8d5d',
500: '#0f5f1e',
950: '#000000',
},
}SCSS
$custom: #0f5f1e; $custom-light: #5e8d5d; $custom-dark: #000000;
JSON
{
"hex": "#0f5f1e",
"rgb": {
"r": 15,
"g": 95,
"b": 30
},
"hsl": {
"h": 131.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42518,
"c": 0.12293,
"h": 145.5
},
"luminance": 0.0838
}Semantic roles & 50–950 ramp
primary
#0F5F1E
secondary
#983285
accent
#38CDEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79