#0F5F1D#0F5F1D
#0F5F1D is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.124 H 145.3°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F1D |
|---|---|
| RGB | rgb(15, 95, 29) |
| HSL | hsl(131, 73%, 22%) |
| HSV | hsv(131, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 69.5%, 62.7%) |
| CIE-LAB | lab(34.75, -37.73, 30.35) |
| CIE-LCH | lch(34.75, 48.42, 141.19°) |
| OKLab | oklab(42.51% -0.1017 0.0705) |
| OKLCH | oklch(42.51% 0.124 145.3) |
| XYZ | xyz(4.5107, 8.3741, 2.5408) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.42
Forest
#0B5509
ΔE00 3.71
Darkgreen
#006400
ΔE00 4.31
Forest Green
#2D5A27
ΔE00 4.39
Pine
#2B5D34
ΔE00 5.83
Spruce
#0A5F38
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F1D #5F0F51
analogous
#295F0F #0F5F1D #0F5F45
triadic
#0F5F1D #1D0F5F #5F1D0F
tetradic
#0F5F1D #0F295F #5F0F51 #5F450F
square
#0F5F1D #0F295F #5F0F51 #5F450F
split-complementary
#0F5F1D #450F5F #5F0F29
monochromatic
#041A08 #072A0D #0F5F1D #17942D #20C93D
Accessibility & contrast
On white
7.85
#0F5F1D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#0F5F1D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F1D
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F1D | 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)
#615515
Deuteranopia (green-blind)
#584F23
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f1d; /* rgb */ color: rgb(15, 95, 29); /* oklch */ color: oklch(42.5% 0.124 145.3);
Tailwind
colors: {
custom: {
50: '#5e8d5c',
500: '#0f5f1d',
950: '#000000',
},
}SCSS
$custom: #0f5f1d; $custom-light: #5e8d5c; $custom-dark: #000000;
JSON
{
"hex": "#0f5f1d",
"rgb": {
"r": 15,
"g": 95,
"b": 29
},
"hsl": {
"h": 130.5,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42506,
"c": 0.12375,
"h": 145.3
},
"luminance": 0.08375
}Semantic roles & 50–950 ramp
primary
#0F5F1D
secondary
#983286
accent
#38CFEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79