#0F5D34#0F5D34
#0F5D34 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.099 H 154.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D34 |
|---|---|
| RGB | rgb(15, 93, 52) |
| HSL | hsl(148, 72%, 21%) |
| HSV | hsv(148, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 44.1%, 63.5%) |
| CIE-LAB | lab(34.35, -33.10, 17.27) |
| CIE-LCH | lch(34.35, 37.34, 152.45°) |
| OKLab | oklab(42.28% -0.0891 0.0429) |
| OKLCH | oklch(42.28% 0.099 154.3) |
| XYZ | xyz(4.7307, 8.1776, 4.5773) |
| Luminance | 0.0818 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.06
Pine
#2B5D34
ΔE00 3.18
Hunter Green
#355E3B
ΔE00 4.88
Forest Green
#2D5A27
ΔE00 5.39
Pine Green
#0A481E
ΔE00 6.81
Deep Green
#02590F
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D34 #5D0F38
analogous
#115D0F #0F5D34 #0F5D5B
triadic
#0F5D34 #340F5D #5D340F
tetradic
#0F5D34 #0F115D #5D0F38 #5D5B0F
square
#0F5D34 #0F115D #5D0F38 #5D5B0F
split-complementary
#0F5D34 #5B0F5D #5D0F11
monochromatic
#041A0F #062817 #0F5D34 #179251 #20C66F
Accessibility & contrast
On white
7.97
#0F5D34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#0F5D34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D34
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D34 | 1.00 | 7.97 | 2.64 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5531
Deuteranopia (green-blind)
#544E37
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5d34; /* rgb */ color: rgb(15, 93, 52); /* oklch */ color: oklch(42.3% 0.099 154.3);
Tailwind
colors: {
custom: {
50: '#5c8c6c',
500: '#0f5d34',
950: '#000000',
},
}SCSS
$custom: #0f5d34; $custom-light: #5c8c6c; $custom-dark: #000000;
JSON
{
"hex": "#0f5d34",
"rgb": {
"r": 15,
"g": 93,
"b": 52
},
"hsl": {
"h": 148.462,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.4228,
"c": 0.0989,
"h": 154.3
},
"luminance": 0.08178
}Semantic roles & 50–950 ramp
primary
#0F5D34
secondary
#963166
accent
#3999EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C07
muted
#797D7A