#0F5B2A#0F5B2A
#0F5B2A is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.106 H 149.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B2A |
|---|---|
| RGB | rgb(15, 91, 42) |
| HSL | hsl(141, 72%, 21%) |
| HSV | hsv(141, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 53.8%, 64.3%) |
| CIE-LAB | lab(33.46, -34.25, 21.94) |
| CIE-LCH | lch(33.46, 40.68, 147.35°) |
| OKLab | oklab(41.49% -0.092 0.0533) |
| OKLCH | oklch(41.49% 0.106 149.9) |
| XYZ | xyz(4.3556, 7.7504, 3.4565) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.35
Pine
#2B5D34
ΔE00 3.44
Forest Green
#2D5A27
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.97
Hunter Green
#355E3B
ΔE00 5.66
Forest
#0B5509
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B2A #5B0F40
analogous
#1A5B0F #0F5B2A #0F5B50
triadic
#0F5B2A #2A0F5B #5B2A0F
tetradic
#0F5B2A #0F1A5B #5B0F40 #5B500F
square
#0F5B2A #0F1A5B #5B0F40 #5B500F
split-complementary
#0F5B2A #500F5B #5B0F1A
monochromatic
#041A0C #062612 #0F5B2A #189042 #20C45A
Accessibility & contrast
On white
8.23
#0F5B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#0F5B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B2A
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B2A | 1.00 | 8.23 | 2.55 | 8.23 |
| #FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5226
Deuteranopia (green-blind)
#534C2E
Tritanopia (blue-blind)
#005950
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #0f5b2a; /* rgb */ color: rgb(15, 91, 42); /* oklch */ color: oklch(41.5% 0.106 149.9);
Tailwind
colors: {
custom: {
50: '#5c8a64',
500: '#0f5b2a',
950: '#000000',
},
}SCSS
$custom: #0f5b2a; $custom-light: #5c8a64; $custom-dark: #000000;
JSON
{
"hex": "#0f5b2a",
"rgb": {
"r": 15,
"g": 91,
"b": 42
},
"hsl": {
"h": 141.316,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41486,
"c": 0.1063,
"h": 149.9
},
"luminance": 0.07751
}Semantic roles & 50–950 ramp
primary
#0F5B2A
secondary
#953171
accent
#39AEEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050C05
muted
#797D7A