#0F5C2A#0F5C2A
#0F5C2A is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.108 H 149.8°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C2A |
|---|---|
| RGB | rgb(15, 92, 42) |
| HSL | hsl(141, 72%, 21%) |
| HSV | hsv(141, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 54.3%, 63.9%) |
| CIE-LAB | lab(33.82, -34.65, 22.40) |
| CIE-LCH | lch(33.82, 41.26, 147.12°) |
| OKLab | oklab(41.79% -0.0931 0.0543) |
| OKLCH | oklch(41.79% 0.108 149.8) |
| XYZ | xyz(4.4417, 7.9225, 3.4851) |
| Luminance | 0.0792 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.41
Pine
#2B5D34
ΔE00 3.50
Forest Green
#2D5A27
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.84
Forest
#0B5509
ΔE00 5.68
Hunter Green
#355E3B
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C2A #5C0F41
analogous
#1A5C0F #0F5C2A #0F5C50
triadic
#0F5C2A #2A0F5C #5C2A0F
tetradic
#0F5C2A #0F1A5C #5C0F41 #5C500F
square
#0F5C2A #0F1A5C #5C0F41 #5C500F
split-complementary
#0F5C2A #500F5C #5C0F1A
monochromatic
#041A0C #062712 #0F5C2A #189142 #20C55A
Accessibility & contrast
On white
8.13
#0F5C2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#0F5C2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C2A
8.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C2A | 1.00 | 8.13 | 2.58 | 8.13 |
| #FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D5326
Deuteranopia (green-blind)
#544D2E
Tritanopia (blue-blind)
#005A50
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c2a; /* rgb */ color: rgb(15, 92, 42); /* oklch */ color: oklch(41.8% 0.108 149.8);
Tailwind
colors: {
custom: {
50: '#5c8b64',
500: '#0f5c2a',
950: '#000000',
},
}SCSS
$custom: #0f5c2a; $custom-light: #5c8b64; $custom-dark: #000000;
JSON
{
"hex": "#0f5c2a",
"rgb": {
"r": 15,
"g": 92,
"b": 42
},
"hsl": {
"h": 141.039,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41787,
"c": 0.10773,
"h": 149.8
},
"luminance": 0.07923
}Semantic roles & 50–950 ramp
primary
#0F5C2A
secondary
#953172
accent
#39AFEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A