#0F5D1F#0F5D1F
#0F5D1F is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.119 H 145.9°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D1F |
|---|---|
| RGB | rgb(15, 93, 31) |
| HSL | hsl(132, 72%, 21%) |
| HSV | hsv(132, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 66.7%, 63.5%) |
| CIE-LAB | lab(34.04, -36.74, 28.57) |
| CIE-LCH | lch(34.04, 46.54, 142.13°) |
| OKLab | oklab(41.93% -0.0989 0.0669) |
| OKLCH | oklch(41.93% 0.119 145.9) |
| XYZ | xyz(4.3584, 8.0287, 2.6160) |
| Luminance | 0.0803 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.48
Forest
#0B5509
ΔE00 3.62
Forest Green
#2D5A27
ΔE00 3.93
Darkgreen
#006400
ΔE00 5.17
Pine
#2B5D34
ΔE00 5.24
Spruce
#0A5F38
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D1F #5D0F4D
analogous
#265D0F #0F5D1F #0F5D46
triadic
#0F5D1F #1F0F5D #5D1F0F
tetradic
#0F5D1F #0F265D #5D0F4D #5D460F
square
#0F5D1F #0F265D #5D0F4D #5D460F
split-complementary
#0F5D1F #460F5D #5D0F26
monochromatic
#041A09 #06280D #0F5D1F #179231 #20C642
Accessibility & contrast
On white
8.06
#0F5D1F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#0F5D1F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D1F
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D1F | 1.00 | 8.06 | 2.61 | 8.06 |
| #FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5418
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d1f; /* rgb */ color: rgb(15, 93, 31); /* oklch */ color: oklch(41.9% 0.119 145.9);
Tailwind
colors: {
custom: {
50: '#5d8c5d',
500: '#0f5d1f',
950: '#000000',
},
}SCSS
$custom: #0f5d1f; $custom-light: #5d8c5d; $custom-dark: #000000;
JSON
{
"hex": "#0f5d1f",
"rgb": {
"r": 15,
"g": 93,
"b": 31
},
"hsl": {
"h": 132.308,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.41925,
"c": 0.11945,
"h": 145.9
},
"luminance": 0.08029
}Semantic roles & 50–950 ramp
primary
#0F5D1F
secondary
#963182
accent
#39CAEF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79