#0F5C2B#0F5C2B
#0F5C2B is a dark, moderate green. Relative luminance 0.079; OKLCH L 41.8% C 0.107 H 150.2°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5C2B |
|---|---|
| RGB | rgb(15, 92, 43) |
| HSL | hsl(142, 72%, 21%) |
| HSV | hsv(142, 84%, 36%) |
| CMYK | cmyk(83.7%, 0%, 53.3%, 63.9%) |
| CIE-LAB | lab(33.84, -34.47, 21.85) |
| CIE-LCH | lch(33.84, 40.81, 147.63°) |
| OKLab | oklab(41.81% -0.0926 0.0531) |
| OKLCH | oklch(41.81% 0.107 150.2) |
| XYZ | xyz(4.4598, 7.9297, 3.5806) |
| Luminance | 0.0793 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.17
Pine
#2B5D34
ΔE00 3.39
Forest Green
#2D5A27
ΔE00 4.05
Deep Green
#02590F
ΔE00 5.09
Hunter Green
#355E3B
ΔE00 5.60
Forest
#0B5509
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5C2B #5C0F40
analogous
#195C0F #0F5C2B #0F5C51
triadic
#0F5C2B #2B0F5C #5C2B0F
tetradic
#0F5C2B #0F195C #5C0F40 #5C510F
square
#0F5C2B #0F195C #5C0F40 #5C510F
split-complementary
#0F5C2B #510F5C #5C0F19
monochromatic
#041A0C #062712 #0F5C2B #189144 #20C55C
Accessibility & contrast
On white
8.12
#0F5C2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.59
#0F5C2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5C2B
8.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5C2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5C2B | 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)
#5D5327
Deuteranopia (green-blind)
#544D2F
Tritanopia (blue-blind)
#005A51
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #0f5c2b; /* rgb */ color: rgb(15, 92, 43); /* oklch */ color: oklch(41.8% 0.107 150.2);
Tailwind
colors: {
custom: {
50: '#5c8b65',
500: '#0f5c2b',
950: '#000000',
},
}SCSS
$custom: #0f5c2b; $custom-light: #5c8b65; $custom-dark: #000000;
JSON
{
"hex": "#0f5c2b",
"rgb": {
"r": 15,
"g": 92,
"b": 43
},
"hsl": {
"h": 141.818,
"s": 71.963,
"l": 20.98
},
"oklch": {
"l": 0.41805,
"c": 0.10672,
"h": 150.2
},
"luminance": 0.0793
}Semantic roles & 50–950 ramp
primary
#0F5C2B
secondary
#953171
accent
#39ADEF
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A