#155F20#155F20
#155F20 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.7% C 0.119 H 145.3°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #155F20 |
|---|---|
| RGB | rgb(21, 95, 32) |
| HSL | hsl(129, 64%, 23%) |
| HSV | hsv(129, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 66.3%, 62.7%) |
| CIE-LAB | lab(34.90, -36.36, 29.07) |
| CIE-LCH | lch(34.90, 46.55, 141.36°) |
| OKLab | oklab(42.67% -0.0982 0.0681) |
| OKLCH | oklch(42.67% 0.119 145.3) |
| XYZ | xyz(4.6619, 8.4476, 2.7511) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.81
Forest Green
#2D5A27
ΔE00 3.88
Forest
#0B5509
ΔE00 3.97
Darkgreen
#006400
ΔE00 4.79
Pine
#2B5D34
ΔE00 5.24
Spruce
#0A5F38
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F20 #5F1554
analogous
#2F5F15 #155F20 #155F45
triadic
#155F20 #20155F #5F2015
tetradic
#155F20 #152F5F #5F1554 #5F4515
square
#155F20 #152F5F #5F1554 #5F4515
split-complementary
#155F20 #45155F #5F152F
monochromatic
#061908 #0A2D0F #155F20 #209131 #2BC342
Accessibility & contrast
On white
7.81
#155F20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#155F20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F20
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F20 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615619
Deuteranopia (green-blind)
#585025
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f20; /* rgb */ color: rgb(21, 95, 32); /* oklch */ color: oklch(42.7% 0.119 145.3);
Tailwind
colors: {
custom: {
50: '#608d5e',
500: '#155f20',
950: '#000000',
},
}SCSS
$custom: #155f20; $custom-light: #608d5e; $custom-dark: #000000;
JSON
{
"hex": "#155f20",
"rgb": {
"r": 21,
"g": 95,
"b": 32
},
"hsl": {
"h": 128.919,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42672,
"c": 0.11946,
"h": 145.3
},
"luminance": 0.08448
}Semantic roles & 50–950 ramp
primary
#155F20
secondary
#963A89
accent
#41CEE7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79