#0F5C2C#0F5C2C
#0F5C2C is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.106 H 150.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C2C |
|---|---|
| RGB | rgb(15, 92, 44) |
| HSL | hsl(143, 72%, 21%) |
| HSV | hsv(143, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 52.2%, 63.9%) |
| CIE-LAB | lab(33.85, -34.29, 21.30) |
| CIE-LCH | lch(33.85, 40.36, 148.15°) |
| OKLab | oklab(41.82% -0.0921 0.0519) |
| OKLCH | oklch(41.82% 0.106 150.6) |
| XYZ | xyz(4.4784, 7.9372, 3.6784) |
| Luminance | 0.0794 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.93
Pine
#2B5D34
ΔE00 3.29
Forest Green
#2D5A27
ΔE00 4.16
Deep Green
#02590F
ΔE00 5.34
Hunter Green
#355E3B
ΔE00 5.48
Forest
#0B5509
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C2C #5C0F3F
analogous
#185C0F #0F5C2C #0F5C52
triadic
#0F5C2C #2C0F5C #5C2C0F
tetradic
#0F5C2C #0F185C #5C0F3F #5C520F
square
#0F5C2C #0F185C #5C0F3F #5C520F
split-complementary
#0F5C2C #520F5C #5C0F18
monochromatic
#041A0D #062713 #0F5C2C #189145 #20C55E
Accessibility & contrast
On white
8.12
#0F5C2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#0F5C2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C2C
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C2C | 1.00 | 8.12 | 2.59 | 8.12 |
| #FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5328
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c2c; /* rgb */ color: rgb(15, 92, 44); /* oklch */ color: oklch(41.8% 0.106 150.6);
Tailwind
colors: {
custom: {
50: '#5c8b66',
500: '#0f5c2c',
950: '#000000',
},
}SCSS
$custom: #0f5c2c; $custom-light: #5c8b66; $custom-dark: #000000;
JSON
{
"hex": "#0f5c2c",
"rgb": {
"r": 15,
"g": 92,
"b": 44
},
"hsl": {
"h": 142.597,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41823,
"c": 0.10571,
"h": 150.6
},
"luminance": 0.07938
}Semantic roles & 50–950 ramp
primary
#0F5C2C
secondary
#953170
accent
#39AAEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C06
muted
#797D7A