#0F5D31#0F5D31
#0F5D31 is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.2% C 0.102 H 152.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5D31 |
|---|---|
| RGB | rgb(15, 93, 49) |
| HSL | hsl(146, 72%, 21%) |
| HSV | hsv(146, 84%, 36%) |
| CMYK | cmyk(83.9%, 0%, 47.3%, 63.5%) |
| CIE-LAB | lab(34.30, -33.72, 18.97) |
| CIE-LCH | lch(34.30, 38.69, 150.65°) |
| OKLab | oklab(42.22% -0.0907 0.0468) |
| OKLCH | oklch(42.22% 0.102 152.7) |
| XYZ | xyz(4.6653, 8.1514, 4.2326) |
| Luminance | 0.0815 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.77
Pine
#2B5D34
ΔE00 3.09
Forest Green
#2D5A27
ΔE00 4.84
Hunter Green
#355E3B
ΔE00 5.06
Deep Green
#02590F
ΔE00 6.49
Pine Green
#0A481E
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5D31 #5D0F3B
analogous
#145D0F #0F5D31 #0F5D58
triadic
#0F5D31 #310F5D #5D310F
tetradic
#0F5D31 #0F145D #5D0F3B #5D580F
square
#0F5D31 #0F145D #5D0F3B #5D580F
split-complementary
#0F5D31 #580F5D #5D0F14
monochromatic
#041A0E #062815 #0F5D31 #17924D #20C669
Accessibility & contrast
On white
7.98
#0F5D31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#0F5D31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5D31
7.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5D31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5D31 | 1.00 | 7.98 | 2.63 | 7.98 |
| #FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D542E
Deuteranopia (green-blind)
#544E34
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5d31; /* rgb */ color: rgb(15, 93, 49); /* oklch */ color: oklch(42.2% 0.102 152.7);
Tailwind
colors: {
custom: {
50: '#5c8c69',
500: '#0f5d31',
950: '#000000',
},
}SCSS
$custom: #0f5d31; $custom-light: #5c8c69; $custom-dark: #000000;
JSON
{
"hex": "#0f5d31",
"rgb": {
"r": 15,
"g": 93,
"b": 49
},
"hsl": {
"h": 146.154,
"s": 72.222,
"l": 21.176
},
"oklch": {
"l": 0.42218,
"c": 0.10201,
"h": 152.7
},
"luminance": 0.08152
}Semantic roles & 50–950 ramp
primary
#0F5D31
secondary
#96316A
accent
#39A0EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A