#0F5D20#0F5D20
#0F5D20 is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.119 H 146.2°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D20 |
|---|---|
| RGB | rgb(15, 93, 32) |
| HSL | hsl(133, 72%, 21%) |
| HSV | hsv(133, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 65.6%, 63.5%) |
| CIE-LAB | lab(34.05, -36.60, 28.07) |
| CIE-LCH | lch(34.05, 46.13, 142.51°) |
| OKLab | oklab(41.94% -0.0985 0.066) |
| OKLCH | oklch(41.94% 0.119 146.2) |
| XYZ | xyz(4.3717, 8.0340, 2.6865) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.66
Forest
#0B5509
ΔE00 3.77
Forest Green
#2D5A27
ΔE00 3.88
Pine
#2B5D34
ΔE00 5.08
Darkgreen
#006400
ΔE00 5.35
Spruce
#0A5F38
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D20 #5D0F4C
analogous
#255D0F #0F5D20 #0F5D47
triadic
#0F5D20 #200F5D #5D200F
tetradic
#0F5D20 #0F255D #5D0F4C #5D470F
square
#0F5D20 #0F255D #5D0F4C #5D470F
split-complementary
#0F5D20 #470F5D #5D0F25
monochromatic
#041A09 #06280E #0F5D20 #179232 #20C644
Accessibility & contrast
On white
8.06
#0F5D20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#0F5D20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D20
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D20 | 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)
#5E5419
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d20; /* rgb */ color: rgb(15, 93, 32); /* oklch */ color: oklch(41.9% 0.119 146.2);
Tailwind
colors: {
custom: {
50: '#5d8c5e',
500: '#0f5d20',
950: '#000000',
},
}SCSS
$custom: #0f5d20; $custom-light: #5d8c5e; $custom-dark: #000000;
JSON
{
"hex": "#0f5d20",
"rgb": {
"r": 15,
"g": 93,
"b": 32
},
"hsl": {
"h": 133.077,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.41938,
"c": 0.11859,
"h": 146.2
},
"luminance": 0.08035
}Semantic roles & 50–950 ramp
primary
#0F5D20
secondary
#963180
accent
#39C7EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79