#0F5E2A#0F5E2A
#0F5E2A is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.111 H 149.4°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5E2A |
|---|---|
| RGB | rgb(15, 94, 42) |
| HSL | hsl(141, 72%, 21%) |
| HSV | hsv(141, 84%, 37%) |
| CMYK | cmyk(84%, 0%, 55.3%, 63.1%) |
| CIE-LAB | lab(34.55, -35.43, 23.29) |
| CIE-LCH | lch(34.55, 42.40, 146.68°) |
| OKLab | oklab(42.39% -0.0952 0.0563) |
| OKLCH | oklch(42.39% 0.111 149.4) |
| XYZ | xyz(4.6172, 8.2736, 3.5437) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.64
Pine
#2B5D34
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 4.05
Deep Green
#02590F
ΔE00 4.67
Forest
#0B5509
ΔE00 5.66
Hunter Green
#355E3B
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5E2A #5E0F43
analogous
#1C5E0F #0F5E2A #0F5E52
triadic
#0F5E2A #2A0F5E #5E2A0F
tetradic
#0F5E2A #0F1C5E #5E0F43 #5E520F
square
#0F5E2A #0F1C5E #5E0F43 #5E520F
split-complementary
#0F5E2A #520F5E #5E0F1C
monochromatic
#041A0C #072912 #0F5E2A #179342 #20C859
Accessibility & contrast
On white
7.91
#0F5E2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#0F5E2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5E2A
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5E2A | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5526
Deuteranopia (green-blind)
#564F2E
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #0f5e2a; /* rgb */ color: rgb(15, 94, 42); /* oklch */ color: oklch(42.4% 0.111 149.4);
Tailwind
colors: {
custom: {
50: '#5d8c65',
500: '#0f5e2a',
950: '#000000',
},
}SCSS
$custom: #0f5e2a; $custom-light: #5d8c65; $custom-dark: #000000;
JSON
{
"hex": "#0f5e2a",
"rgb": {
"r": 15,
"g": 94,
"b": 42
},
"hsl": {
"h": 140.506,
"s": 72.477,
"l": 21.373
},
"oklch": {
"l": 0.42388,
"c": 0.11056,
"h": 149.4
},
"luminance": 0.08274
}Semantic roles & 50–950 ramp
primary
#0F5E2A
secondary
#973175
accent
#39B1EF
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A