#0F5B20#0F5B20
#0F5B20 is a dark, moderate green. Relative luminance 0.077; OKLCH L 41.3% C 0.116 H 146.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #0F5B20 |
|---|---|
| RGB | rgb(15, 91, 32) |
| HSL | hsl(133, 72%, 21%) |
| HSV | hsv(133, 84%, 36%) |
| CMYK | cmyk(83.5%, 0%, 64.8%, 64.3%) |
| CIE-LAB | lab(33.32, -35.85, 27.24) |
| CIE-LCH | lch(33.32, 45.02, 142.78°) |
| OKLab | oklab(41.33% -0.0965 0.0642) |
| OKLCH | oklch(41.33% 0.116 146.4) |
| XYZ | xyz(4.1985, 7.6875, 2.6288) |
| Luminance | 0.0769 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.70
Forest
#0B5509
ΔE00 3.62
Forest Green
#2D5A27
ΔE00 3.66
Pine
#2B5D34
ΔE00 4.86
Spruce
#0A5F38
ΔE00 5.57
Bottle Green
#044A05
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F5B20 #5B0F4A
analogous
#245B0F #0F5B20 #0F5B46
triadic
#0F5B20 #200F5B #5B200F
tetradic
#0F5B20 #0F245B #5B0F4A #5B460F
square
#0F5B20 #0F245B #5B0F4A #5B460F
split-complementary
#0F5B20 #460F5B #5B0F24
monochromatic
#041A09 #06260E #0F5B20 #189032 #20C445
Accessibility & contrast
On white
8.28
#0F5B20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#0F5B20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F5B20
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F5B20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F5B20 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C521A
Deuteranopia (green-blind)
#544C25
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #0f5b20; /* rgb */ color: rgb(15, 91, 32); /* oklch */ color: oklch(41.3% 0.116 146.4);
Tailwind
colors: {
custom: {
50: '#5d8a5e',
500: '#0f5b20',
950: '#000000',
},
}SCSS
$custom: #0f5b20; $custom-light: #5d8a5e; $custom-dark: #000000;
JSON
{
"hex": "#0f5b20",
"rgb": {
"r": 15,
"g": 91,
"b": 32
},
"hsl": {
"h": 133.421,
"s": 71.698,
"l": 20.784
},
"oklch": {
"l": 0.41332,
"c": 0.11589,
"h": 146.4
},
"luminance": 0.07688
}Semantic roles & 50–950 ramp
primary
#0F5B20
secondary
#95317E
accent
#39C6EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79