#0F5C2E#0F5C2E
#0F5C2E is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.104 H 151.5°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C2E |
|---|---|
| RGB | rgb(15, 92, 46) |
| HSL | hsl(144, 72%, 21%) |
| HSV | hsv(144, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 50%, 63.9%) |
| CIE-LAB | lab(33.88, -33.91, 20.19) |
| CIE-LCH | lch(33.88, 39.46, 149.24°) |
| OKLab | oklab(41.86% -0.0911 0.0495) |
| OKLCH | oklch(41.86% 0.104 151.5) |
| XYZ | xyz(4.5169, 7.9526, 3.8812) |
| Luminance | 0.0795 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.45
Pine
#2B5D34
ΔE00 3.15
Forest Green
#2D5A27
ΔE00 4.42
Hunter Green
#355E3B
ΔE00 5.26
Deep Green
#02590F
ΔE00 5.84
Pine Green
#0A481E
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C2E #5C0F3D
analogous
#165C0F #0F5C2E #0F5C54
triadic
#0F5C2E #2E0F5C #5C2E0F
tetradic
#0F5C2E #0F165C #5C0F3D #5C540F
square
#0F5C2E #0F165C #5C0F3D #5C540F
split-complementary
#0F5C2E #540F5C #5C0F16
monochromatic
#041A0D #062714 #0F5C2E #189148 #20C563
Accessibility & contrast
On white
8.11
#0F5C2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#0F5C2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C2E
8.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C2E | 1.00 | 8.11 | 2.59 | 8.11 |
| #FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#544D31
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c2e; /* rgb */ color: rgb(15, 92, 46); /* oklch */ color: oklch(41.9% 0.104 151.5);
Tailwind
colors: {
custom: {
50: '#5c8b67',
500: '#0f5c2e',
950: '#000000',
},
}SCSS
$custom: #0f5c2e; $custom-light: #5c8b67; $custom-dark: #000000;
JSON
{
"hex": "#0f5c2e",
"rgb": {
"r": 15,
"g": 92,
"b": 46
},
"hsl": {
"h": 144.156,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.4186,
"c": 0.10366,
"h": 151.5
},
"luminance": 0.07953
}Semantic roles & 50–950 ramp
primary
#0F5C2E
secondary
#95316D
accent
#39A6EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A