#0F5F31#0F5F31
#0F5F31 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.105 H 152.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F31 |
|---|---|
| RGB | rgb(15, 95, 49) |
| HSL | hsl(146, 73%, 22%) |
| HSV | hsv(146, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 48.4%, 62.7%) |
| CIE-LAB | lab(35.02, -34.54, 19.90) |
| CIE-LCH | lch(35.02, 39.86, 150.05°) |
| OKLab | oklab(42.81% -0.0928 0.0489) |
| OKLCH | oklch(42.81% 0.105 152.2) |
| XYZ | xyz(4.8431, 8.5071, 4.2919) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.04
Pine
#2B5D34
ΔE00 3.24
Forest Green
#2D5A27
ΔE00 4.83
Hunter Green
#355E3B
ΔE00 5.23
Deep Green
#02590F
ΔE00 6.27
Forest
#0B5509
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F31 #5F0F3D
analogous
#155F0F #0F5F31 #0F5F59
triadic
#0F5F31 #310F5F #5F310F
tetradic
#0F5F31 #0F155F #5F0F3D #5F590F
square
#0F5F31 #0F155F #5F0F3D #5F590F
split-complementary
#0F5F31 #590F5F #5F0F15
monochromatic
#041A0E #072A16 #0F5F31 #17944C #20C968
Accessibility & contrast
On white
7.77
#0F5F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#0F5F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F31
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F31 | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562E
Deuteranopia (green-blind)
#565034
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f31; /* rgb */ color: rgb(15, 95, 49); /* oklch */ color: oklch(42.8% 0.105 152.2);
Tailwind
colors: {
custom: {
50: '#5d8d6a',
500: '#0f5f31',
950: '#000000',
},
}SCSS
$custom: #0f5f31; $custom-light: #5d8d6a; $custom-dark: #000000;
JSON
{
"hex": "#0f5f31",
"rgb": {
"r": 15,
"g": 95,
"b": 49
},
"hsl": {
"h": 145.5,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42814,
"c": 0.1049,
"h": 152.2
},
"luminance": 0.08508
}Semantic roles & 50–950 ramp
primary
#0F5F31
secondary
#98326D
accent
#38A2EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A