#0F5D2D#0F5D2D
#0F5D2D is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.106 H 150.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D2D |
|---|---|
| RGB | rgb(15, 93, 45) |
| HSL | hsl(143, 72%, 21%) |
| HSV | hsv(143, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 51.6%, 63.5%) |
| CIE-LAB | lab(34.23, -34.50, 21.20) |
| CIE-LCH | lch(34.23, 40.49, 148.43°) |
| OKLab | oklab(42.14% -0.0927 0.0517) |
| OKLCH | oklch(42.14% 0.106 150.8) |
| XYZ | xyz(4.5846, 8.1192, 3.8076) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.77
Pine
#2B5D34
ΔE00 3.28
Forest Green
#2D5A27
ΔE00 4.28
Hunter Green
#355E3B
ΔE00 5.45
Deep Green
#02590F
ΔE00 5.47
Forest
#0B5509
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D2D #5D0F3F
analogous
#185D0F #0F5D2D #0F5D54
triadic
#0F5D2D #2D0F5D #5D2D0F
tetradic
#0F5D2D #0F185D #5D0F3F #5D540F
square
#0F5D2D #0F185D #5D0F3F #5D540F
split-complementary
#0F5D2D #540F5D #5D0F18
monochromatic
#041A0D #062813 #0F5D2D #179246 #20C660
Accessibility & contrast
On white
8.00
#0F5D2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#0F5D2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D2D
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D2D | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5429
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d2d; /* rgb */ color: rgb(15, 93, 45); /* oklch */ color: oklch(42.1% 0.106 150.8);
Tailwind
colors: {
custom: {
50: '#5d8c67',
500: '#0f5d2d',
950: '#000000',
},
}SCSS
$custom: #0f5d2d; $custom-light: #5d8c67; $custom-dark: #000000;
JSON
{
"hex": "#0f5d2d",
"rgb": {
"r": 15,
"g": 93,
"b": 45
},
"hsl": {
"h": 143.077,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42141,
"c": 0.10612,
"h": 150.8
},
"luminance": 0.0812
}Semantic roles & 50–950 ramp
primary
#0F5D2D
secondary
#963170
accent
#39A9EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A