#0F5D1C#0F5D1C
#0F5D1C is a dark, vivid green. Relative luminance 0.080; OKLCH L 41.9% C 0.122 H 145.2°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D1C |
|---|---|
| RGB | rgb(15, 93, 28) |
| HSL | hsl(130, 72%, 21%) |
| HSV | hsv(130, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 69.9%, 63.5%) |
| CIE-LAB | lab(34.01, -37.12, 30.01) |
| CIE-LCH | lch(34.01, 47.74, 141.04°) |
| OKLab | oklab(41.89% -0.1001 0.0697) |
| OKLCH | oklch(41.89% 0.122 145.2) |
| XYZ | xyz(4.3206, 8.0136, 2.4174) |
| Luminance | 0.0801 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.02
Forest
#0B5509
ΔE00 3.22
Forest Green
#2D5A27
ΔE00 4.13
Darkgreen
#006400
ΔE00 4.65
Pine
#2B5D34
ΔE00 5.71
Bottle Green
#044A05
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D1C #5D0F50
analogous
#295D0F #0F5D1C #0F5D43
triadic
#0F5D1C #1C0F5D #5D1C0F
tetradic
#0F5D1C #0F295D #5D0F50 #5D430F
square
#0F5D1C #0F295D #5D0F50 #5D430F
split-complementary
#0F5D1C #430F5D #5D0F29
monochromatic
#041A08 #06280C #0F5D1C #17922C #20C63C
Accessibility & contrast
On white
8.07
#0F5D1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#0F5D1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D1C
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D1C | 1.00 | 8.07 | 2.60 | 8.07 |
| #FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5414
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d1c; /* rgb */ color: rgb(15, 93, 28); /* oklch */ color: oklch(41.9% 0.122 145.2);
Tailwind
colors: {
custom: {
50: '#5d8c5b',
500: '#0f5d1c',
950: '#000000',
},
}SCSS
$custom: #0f5d1c; $custom-light: #5d8c5b; $custom-dark: #000000;
JSON
{
"hex": "#0f5d1c",
"rgb": {
"r": 15,
"g": 93,
"b": 28
},
"hsl": {
"h": 130,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.41889,
"c": 0.12197,
"h": 145.2
},
"luminance": 0.08014
}Semantic roles & 50–950 ramp
primary
#0F5D1C
secondary
#963186
accent
#39D1EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79