#155F21#155F21
#155F21 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.119 H 145.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #155F21 |
|---|---|
| RGB | rgb(21, 95, 33) |
| HSL | hsl(130, 64%, 23%) |
| HSV | hsv(130, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 65.3%, 62.7%) |
| CIE-LAB | lab(34.91, -36.23, 28.58) |
| CIE-LCH | lch(34.91, 46.14, 141.74°) |
| OKLab | oklab(42.69% -0.0978 0.0671) |
| OKLCH | oklch(42.69% 0.119 145.5) |
| XYZ | xyz(4.6757, 8.4531, 2.8237) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.95
Forest Green
#2D5A27
ΔE00 3.82
Forest
#0B5509
ΔE00 4.10
Darkgreen
#006400
ΔE00 4.98
Pine
#2B5D34
ΔE00 5.07
Spruce
#0A5F38
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F21 #5F1553
analogous
#2E5F15 #155F21 #155F46
triadic
#155F21 #21155F #5F2115
tetradic
#155F21 #152E5F #5F1553 #5F4615
square
#155F21 #152E5F #5F1553 #5F4615
split-complementary
#155F21 #46155F #5F152E
monochromatic
#061909 #0A2D10 #155F21 #209132 #2BC344
Accessibility & contrast
On white
7.80
#155F21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#155F21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F21
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F21 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61561A
Deuteranopia (green-blind)
#585026
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f21; /* rgb */ color: rgb(21, 95, 33); /* oklch */ color: oklch(42.7% 0.119 145.5);
Tailwind
colors: {
custom: {
50: '#608d5f',
500: '#155f21',
950: '#000000',
},
}SCSS
$custom: #155f21; $custom-light: #608d5f; $custom-dark: #000000;
JSON
{
"hex": "#155f21",
"rgb": {
"r": 21,
"g": 95,
"b": 33
},
"hsl": {
"h": 129.73,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42685,
"c": 0.11859,
"h": 145.5
},
"luminance": 0.08454
}Semantic roles & 50–950 ramp
primary
#155F21
secondary
#963A87
accent
#41CCE7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79