#155E21#155E21
#155E21 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.117 H 145.6°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #155E21 |
|---|---|
| RGB | rgb(21, 94, 33) |
| HSL | hsl(130, 63%, 23%) |
| HSV | hsv(130, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 64.9%, 63.1%) |
| CIE-LAB | lab(34.55, -35.85, 28.16) |
| CIE-LCH | lch(34.55, 45.59, 141.85°) |
| OKLab | oklab(42.39% -0.0967 0.0662) |
| OKLCH | oklch(42.39% 0.117 145.6) |
| XYZ | xyz(4.5862, 8.2741, 2.7939) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.87
Forest Green
#2D5A27
ΔE00 3.63
Forest
#0B5509
ΔE00 3.96
Pine
#2B5D34
ΔE00 4.91
Darkgreen
#006400
ΔE00 5.22
Spruce
#0A5F38
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E21 #5E1552
analogous
#2E5E15 #155E21 #155E45
triadic
#155E21 #21155E #5E2115
tetradic
#155E21 #152E5E #5E1552 #5E4515
square
#155E21 #152E5E #5E1552 #5E4515
split-complementary
#155E21 #45155E #5E152E
monochromatic
#061909 #0A2C0F #155E21 #209033 #2BC244
Accessibility & contrast
On white
7.91
#155E21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#155E21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E21
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E21 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60551A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #155e21; /* rgb */ color: rgb(21, 94, 33); /* oklch */ color: oklch(42.4% 0.117 145.6);
Tailwind
colors: {
custom: {
50: '#5f8c5f',
500: '#155e21',
950: '#000000',
},
}SCSS
$custom: #155e21; $custom-light: #5f8c5f; $custom-dark: #000000;
JSON
{
"hex": "#155e21",
"rgb": {
"r": 21,
"g": 94,
"b": 33
},
"hsl": {
"h": 129.863,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42385,
"c": 0.11723,
"h": 145.6
},
"luminance": 0.08275
}Semantic roles & 50–950 ramp
primary
#155E21
secondary
#953986
accent
#41CBE7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79