#0F5E31#0F5E31
#0F5E31 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.103 H 152.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E31 |
|---|---|
| RGB | rgb(15, 94, 49) |
| HSL | hsl(146, 72%, 21%) |
| HSV | hsv(146, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 47.9%, 63.1%) |
| CIE-LAB | lab(34.66, -34.13, 19.43) |
| CIE-LCH | lch(34.66, 39.27, 150.34°) |
| OKLab | oklab(42.52% -0.0917 0.0478) |
| OKLCH | oklch(42.52% 0.103 152.5) |
| XYZ | xyz(4.7537, 8.3281, 4.2621) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.87
Pine
#2B5D34
ΔE00 3.15
Forest Green
#2D5A27
ΔE00 4.82
Hunter Green
#355E3B
ΔE00 5.13
Deep Green
#02590F
ΔE00 6.37
Pine Green
#0A481E
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E31 #5E0F3C
analogous
#155E0F #0F5E31 #0F5E59
triadic
#0F5E31 #310F5E #5E310F
tetradic
#0F5E31 #0F155E #5E0F3C #5E590F
square
#0F5E31 #0F155E #5E0F3C #5E590F
split-complementary
#0F5E31 #590F5E #5E0F15
monochromatic
#041A0E #072915 #0F5E31 #17934D #20C868
Accessibility & contrast
On white
7.88
#0F5E31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#0F5E31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E31
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E31 | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#554F34
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e31; /* rgb */ color: rgb(15, 94, 49); /* oklch */ color: oklch(42.5% 0.103 152.5);
Tailwind
colors: {
custom: {
50: '#5d8c6a',
500: '#0f5e31',
950: '#000000',
},
}SCSS
$custom: #0f5e31; $custom-light: #5d8c6a; $custom-dark: #000000;
JSON
{
"hex": "#0f5e31",
"rgb": {
"r": 15,
"g": 94,
"b": 49
},
"hsl": {
"h": 145.823,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.42516,
"c": 0.10346,
"h": 152.5
},
"luminance": 0.08329
}Semantic roles & 50–950 ramp
primary
#0F5E31
secondary
#97316B
accent
#39A1EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A