#0F5D2A#0F5D2A
#0F5D2A is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.109 H 149.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D2A |
|---|---|
| RGB | rgb(15, 93, 42) |
| HSL | hsl(141, 72%, 21%) |
| HSV | hsv(141, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 54.8%, 63.5%) |
| CIE-LAB | lab(34.18, -35.04, 22.85) |
| CIE-LCH | lch(34.18, 41.83, 146.90°) |
| OKLab | oklab(42.09% -0.0941 0.0553) |
| OKLCH | oklch(42.09% 0.109 149.6) |
| XYZ | xyz(4.5289, 8.0969, 3.5142) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.51
Pine
#2B5D34
ΔE00 3.59
Forest Green
#2D5A27
ΔE00 3.99
Deep Green
#02590F
ΔE00 4.74
Forest
#0B5509
ΔE00 5.66
Hunter Green
#355E3B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D2A #5D0F42
analogous
#1B5D0F #0F5D2A #0F5D51
triadic
#0F5D2A #2A0F5D #5D2A0F
tetradic
#0F5D2A #0F1B5D #5D0F42 #5D510F
square
#0F5D2A #0F1B5D #5D0F42 #5D510F
split-complementary
#0F5D2A #510F5D #5D0F1B
monochromatic
#041A0C #062812 #0F5D2A #179242 #20C65A
Accessibility & contrast
On white
8.02
#0F5D2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#0F5D2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D2A
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D2A | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5426
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d2a; /* rgb */ color: rgb(15, 93, 42); /* oklch */ color: oklch(42.1% 0.109 149.6);
Tailwind
colors: {
custom: {
50: '#5d8c65',
500: '#0f5d2a',
950: '#000000',
},
}SCSS
$custom: #0f5d2a; $custom-light: #5d8c65; $custom-dark: #000000;
JSON
{
"hex": "#0f5d2a",
"rgb": {
"r": 15,
"g": 93,
"b": 42
},
"hsl": {
"h": 140.769,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42088,
"c": 0.10914,
"h": 149.6
},
"luminance": 0.08097
}Semantic roles & 50–950 ramp
primary
#0F5D2A
secondary
#963173
accent
#39B0EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A