#0F5D21#0F5D21
#0F5D21 is a dark, moderate green. Relative luminance 0.080; OKLCH L 42.0% C 0.118 H 146.5°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D21 |
|---|---|
| RGB | rgb(15, 93, 33) |
| HSL | hsl(134, 72%, 21%) |
| HSV | hsv(134, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 64.5%, 63.5%) |
| CIE-LAB | lab(34.06, -36.46, 27.57) |
| CIE-LCH | lch(34.06, 45.72, 142.90°) |
| OKLab | oklab(41.95% -0.0981 0.065) |
| OKLCH | oklch(41.95% 0.118 146.5) |
| XYZ | xyz(4.3855, 8.0395, 2.7592) |
| Luminance | 0.0804 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.84
Forest Green
#2D5A27
ΔE00 3.84
Forest
#0B5509
ΔE00 3.93
Pine
#2B5D34
ΔE00 4.92
Spruce
#0A5F38
ΔE00 5.54
Darkgreen
#006400
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D21 #5D0F4B
analogous
#245D0F #0F5D21 #0F5D48
triadic
#0F5D21 #210F5D #5D210F
tetradic
#0F5D21 #0F245D #5D0F4B #5D480F
square
#0F5D21 #0F245D #5D0F4B #5D480F
split-complementary
#0F5D21 #480F5D #5D0F24
monochromatic
#041A09 #06280E #0F5D21 #179234 #20C646
Accessibility & contrast
On white
8.05
#0F5D21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#0F5D21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D21
8.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D21 | 1.00 | 8.05 | 2.61 | 8.05 |
| #FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E541B
Deuteranopia (green-blind)
#564E26
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d21; /* rgb */ color: rgb(15, 93, 33); /* oklch */ color: oklch(42.0% 0.118 146.5);
Tailwind
colors: {
custom: {
50: '#5d8c5e',
500: '#0f5d21',
950: '#000000',
},
}SCSS
$custom: #0f5d21; $custom-light: #5d8c5e; $custom-dark: #000000;
JSON
{
"hex": "#0f5d21",
"rgb": {
"r": 15,
"g": 93,
"b": 33
},
"hsl": {
"h": 133.846,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.41951,
"c": 0.1177,
"h": 146.5
},
"luminance": 0.0804
}Semantic roles & 50–950 ramp
primary
#0F5D21
secondary
#96317F
accent
#39C5EF
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79