#155B21#155B21
#155B21 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.5% C 0.113 H 145.8°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).
Color values
| HEX | #155B21 |
|---|---|
| RGB | rgb(21, 91, 33) |
| HSL | hsl(130, 63%, 22%) |
| HSV | hsv(130, 77%, 36%) |
| CMYK | cmyk(76.9%, 0%, 63.7%, 64.3%) |
| CIE-LAB | lab(33.46, -34.68, 26.90) |
| CIE-LCH | lch(33.46, 43.89, 142.20°) |
| OKLab | oklab(41.48% -0.0936 0.0635) |
| OKLCH | oklch(41.48% 0.113 145.8) |
| XYZ | xyz(4.3246, 7.7509, 2.7067) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.90
Forest Green
#2D5A27
ΔE00 3.21
Forest
#0B5509
ΔE00 3.71
Pine
#2B5D34
ΔE00 4.53
Spruce
#0A5F38
ΔE00 5.53
Bottle Green
#044A05
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155B21 #5B154F
analogous
#2C5B15 #155B21 #155B44
triadic
#155B21 #21155B #5B2115
tetradic
#155B21 #152C5B #5B154F #5B4415
square
#155B21 #152C5B #5B154F #5B4415
split-complementary
#155B21 #44155B #5B152C
monochromatic
#061909 #0A290F #155B21 #208D33 #2CBE45
Accessibility & contrast
On white
8.23
#155B21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#155B21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155B21
8.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155B21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155B21 | 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)
#5C521B
Deuteranopia (green-blind)
#544C26
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #155b21; /* rgb */ color: rgb(21, 91, 33); /* oklch */ color: oklch(41.5% 0.113 145.8);
Tailwind
colors: {
custom: {
50: '#5e8a5e',
500: '#155b21',
950: '#000000',
},
}SCSS
$custom: #155b21; $custom-light: #5e8a5e; $custom-dark: #000000;
JSON
{
"hex": "#155b21",
"rgb": {
"r": 21,
"g": 91,
"b": 33
},
"hsl": {
"h": 130.286,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.41483,
"c": 0.1131,
"h": 145.8
},
"luminance": 0.07751
}Semantic roles & 50–950 ramp
primary
#155B21
secondary
#923983
accent
#42CAE6
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79