#0F5C31#0F5C31
#0F5C31 is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.101 H 153.0°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C31 |
|---|---|
| RGB | rgb(15, 92, 49) |
| HSL | hsl(146, 72%, 21%) |
| HSV | hsv(146, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 46.7%, 63.9%) |
| CIE-LAB | lab(33.93, -33.31, 18.50) |
| CIE-LCH | lch(33.93, 38.11, 150.96°) |
| OKLab | oklab(41.92% -0.0896 0.0457) |
| OKLCH | oklch(41.92% 0.101 153) |
| XYZ | xyz(4.5781, 7.9770, 4.2036) |
| Luminance | 0.0798 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.74
Pine
#2B5D34
ΔE00 3.09
Forest Green
#2D5A27
ΔE00 4.90
Hunter Green
#355E3B
ΔE00 5.01
Pine Green
#0A481E
ΔE00 6.36
Deep Green
#02590F
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C31 #5C0F3A
analogous
#135C0F #0F5C31 #0F5C57
triadic
#0F5C31 #310F5C #5C310F
tetradic
#0F5C31 #0F135C #5C0F3A #5C570F
square
#0F5C31 #0F135C #5C0F3A #5C570F
split-complementary
#0F5C31 #570F5C #5C0F13
monochromatic
#041A0E #062715 #0F5C31 #18914D #20C569
Accessibility & contrast
On white
8.09
#0F5C31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.60
#0F5C31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C31
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C31 | 1.00 | 8.09 | 2.60 | 8.09 |
| #FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C542E
Deuteranopia (green-blind)
#534D34
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c31; /* rgb */ color: rgb(15, 92, 49); /* oklch */ color: oklch(41.9% 0.101 153.0);
Tailwind
colors: {
custom: {
50: '#5c8b69',
500: '#0f5c31',
950: '#000000',
},
}SCSS
$custom: #0f5c31; $custom-light: #5c8b69; $custom-dark: #000000;
JSON
{
"hex": "#0f5c31",
"rgb": {
"r": 15,
"g": 92,
"b": 49
},
"hsl": {
"h": 146.494,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41919,
"c": 0.10056,
"h": 153
},
"luminance": 0.07978
}Semantic roles & 50–950 ramp
primary
#0F5C31
secondary
#953169
accent
#399FEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A