#0F5C2F#0F5C2F
#0F5C2F is a dark, moderate green. Relative luminance 0.080; OKLCH L 41.9% C 0.103 H 152.0°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C2F |
|---|---|
| RGB | rgb(15, 92, 47) |
| HSL | hsl(145, 72%, 21%) |
| HSV | hsv(145, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 48.9%, 63.9%) |
| CIE-LAB | lab(33.90, -33.71, 19.63) |
| CIE-LCH | lch(33.90, 39.01, 149.80°) |
| OKLab | oklab(41.88% -0.0906 0.0482) |
| OKLCH | oklch(41.88% 0.103 152) |
| XYZ | xyz(4.5368, 7.9605, 3.9862) |
| Luminance | 0.0796 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.21
Pine
#2B5D34
ΔE00 3.11
Forest Green
#2D5A27
ΔE00 4.57
Hunter Green
#355E3B
ΔE00 5.17
Deep Green
#02590F
ΔE00 6.10
Pine Green
#0A481E
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C2F #5C0F3C
analogous
#155C0F #0F5C2F #0F5C55
triadic
#0F5C2F #2F0F5C #5C2F0F
tetradic
#0F5C2F #0F155C #5C0F3C #5C550F
square
#0F5C2F #0F155C #5C0F3C #5C550F
split-complementary
#0F5C2F #550F5C #5C0F15
monochromatic
#041A0D #062714 #0F5C2F #18914A #20C565
Accessibility & contrast
On white
8.10
#0F5C2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#0F5C2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C2F
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C2F | 1.00 | 8.10 | 2.59 | 8.10 |
| #FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C532C
Deuteranopia (green-blind)
#534D32
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c2f; /* rgb */ color: rgb(15, 92, 47); /* oklch */ color: oklch(41.9% 0.103 152.0);
Tailwind
colors: {
custom: {
50: '#5c8b68',
500: '#0f5c2f',
950: '#000000',
},
}SCSS
$custom: #0f5c2f; $custom-light: #5c8b68; $custom-dark: #000000;
JSON
{
"hex": "#0f5c2f",
"rgb": {
"r": 15,
"g": 92,
"b": 47
},
"hsl": {
"h": 144.935,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41879,
"c": 0.10263,
"h": 152
},
"luminance": 0.07961
}Semantic roles & 50–950 ramp
primary
#0F5C2F
secondary
#95316C
accent
#39A3EF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A