#155E20#155E20
#155E20 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.118 H 145.3°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #155E20 |
|---|---|
| RGB | rgb(21, 94, 32) |
| HSL | hsl(129, 63%, 23%) |
| HSV | hsv(129, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 66%, 63.1%) |
| CIE-LAB | lab(34.54, -35.98, 28.66) |
| CIE-LCH | lch(34.54, 46.00, 141.46°) |
| OKLab | oklab(42.37% -0.0971 0.0672) |
| OKLCH | oklch(42.37% 0.118 145.3) |
| XYZ | xyz(4.5724, 8.2686, 2.7212) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.71
Forest Green
#2D5A27
ΔE00 3.69
Forest
#0B5509
ΔE00 3.82
Darkgreen
#006400
ΔE00 5.03
Pine
#2B5D34
ΔE00 5.08
Spruce
#0A5F38
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E20 #5E1553
analogous
#2F5E15 #155E20 #155E44
triadic
#155E20 #20155E #5E2015
tetradic
#155E20 #152F5E #5E1553 #5E4415
square
#155E20 #152F5E #5E1553 #5E4415
split-complementary
#155E20 #44155E #5E152F
monochromatic
#061909 #0A2C0F #155E20 #209031 #2BC242
Accessibility & contrast
On white
7.91
#155E20 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#155E20 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E20
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E20 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605519
Deuteranopia (green-blind)
#574F25
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #155e20; /* rgb */ color: rgb(21, 94, 32); /* oklch */ color: oklch(42.4% 0.118 145.3);
Tailwind
colors: {
custom: {
50: '#5f8c5e',
500: '#155e20',
950: '#000000',
},
}SCSS
$custom: #155e20; $custom-light: #5f8c5e; $custom-dark: #000000;
JSON
{
"hex": "#155e20",
"rgb": {
"r": 21,
"g": 94,
"b": 32
},
"hsl": {
"h": 129.041,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42372,
"c": 0.1181,
"h": 145.3
},
"luminance": 0.08269
}Semantic roles & 50–950 ramp
primary
#155E20
secondary
#953987
accent
#41CEE7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79