#0F5F2E#0F5F2E
#0F5F2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.108 H 150.8°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5F2E |
|---|---|
| RGB | rgb(15, 95, 46) |
| HSL | hsl(143, 73%, 22%) |
| HSV | hsv(143, 84%, 37%) |
| CMYK | cmyk(84.2%, 0%, 51.6%, 62.7%) |
| CIE-LAB | lab(34.97, -35.11, 21.56) |
| CIE-LCH | lch(34.97, 41.20, 148.45°) |
| OKLab | oklab(42.76% -0.0943 0.0526) |
| OKLCH | oklch(42.76% 0.108 150.8) |
| XYZ | xyz(4.7819, 8.4827, 3.9695) |
| Luminance | 0.0848 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.81
Pine
#2B5D34
ΔE00 3.43
Forest Green
#2D5A27
ΔE00 4.46
Hunter Green
#355E3B
ΔE00 5.54
Deep Green
#02590F
ΔE00 5.54
Forest
#0B5509
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5F2E #5F0F40
analogous
#185F0F #0F5F2E #0F5F56
triadic
#0F5F2E #2E0F5F #5F2E0F
tetradic
#0F5F2E #0F185F #5F0F40 #5F560F
square
#0F5F2E #0F185F #5F0F40 #5F560F
split-complementary
#0F5F2E #560F5F #5F0F18
monochromatic
#041A0D #072A14 #0F5F2E #179448 #20C961
Accessibility & contrast
On white
7.79
#0F5F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#0F5F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5F2E
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5F2E | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562A
Deuteranopia (green-blind)
#565032
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #0f5f2e; /* rgb */ color: rgb(15, 95, 46); /* oklch */ color: oklch(42.8% 0.108 150.8);
Tailwind
colors: {
custom: {
50: '#5d8d67',
500: '#0f5f2e',
950: '#000000',
},
}SCSS
$custom: #0f5f2e; $custom-light: #5d8d67; $custom-dark: #000000;
JSON
{
"hex": "#0f5f2e",
"rgb": {
"r": 15,
"g": 95,
"b": 46
},
"hsl": {
"h": 143.25,
"s": 72.727,
"l": 21.569
},
"oklch": {
"l": 0.42758,
"c": 0.10796,
"h": 150.8
},
"luminance": 0.08483
}Semantic roles & 50–950 ramp
primary
#0F5F2E
secondary
#983270
accent
#38A8EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A