#0F5D2C#0F5D2C
#0F5D2C is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.1% C 0.107 H 150.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D2C |
|---|---|
| RGB | rgb(15, 93, 44) |
| HSL | hsl(142, 72%, 21%) |
| HSV | hsv(142, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 52.7%, 63.5%) |
| CIE-LAB | lab(34.21, -34.68, 21.75) |
| CIE-LCH | lch(34.21, 40.94, 147.91°) |
| OKLab | oklab(42.12% -0.0931 0.0529) |
| OKLCH | oklch(42.12% 0.107 150.4) |
| XYZ | xyz(4.5656, 8.1116, 3.7074) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.02
Pine
#2B5D34
ΔE00 3.37
Forest Green
#2D5A27
ΔE00 4.17
Deep Green
#02590F
ΔE00 5.22
Hunter Green
#355E3B
ΔE00 5.56
Forest
#0B5509
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D2C #5D0F40
analogous
#195D0F #0F5D2C #0F5D53
triadic
#0F5D2C #2C0F5D #5D2C0F
tetradic
#0F5D2C #0F195D #5D0F40 #5D530F
square
#0F5D2C #0F195D #5D0F40 #5D530F
split-complementary
#0F5D2C #530F5D #5D0F19
monochromatic
#041A0C #062813 #0F5D2C #179245 #20C65E
Accessibility & contrast
On white
8.01
#0F5D2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#0F5D2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D2C
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D2C | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5428
Deuteranopia (green-blind)
#554E30
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5d2c; /* rgb */ color: rgb(15, 93, 44); /* oklch */ color: oklch(42.1% 0.107 150.4);
Tailwind
colors: {
custom: {
50: '#5d8c66',
500: '#0f5d2c',
950: '#000000',
},
}SCSS
$custom: #0f5d2c; $custom-light: #5d8c66; $custom-dark: #000000;
JSON
{
"hex": "#0f5d2c",
"rgb": {
"r": 15,
"g": 93,
"b": 44
},
"hsl": {
"h": 142.308,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42123,
"c": 0.10714,
"h": 150.4
},
"luminance": 0.08112
}Semantic roles & 50–950 ramp
primary
#0F5D2C
secondary
#963171
accent
#39ABEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A