#155F22#155F22
#155F22 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.118 H 145.8°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #155F22 |
|---|---|
| RGB | rgb(21, 95, 34) |
| HSL | hsl(131, 64%, 23%) |
| HSV | hsv(131, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 64.2%, 62.7%) |
| CIE-LAB | lab(34.92, -36.09, 28.08) |
| CIE-LCH | lch(34.92, 45.73, 142.12°) |
| OKLab | oklab(42.7% -0.0974 0.0661) |
| OKLCH | oklch(42.7% 0.118 145.8) |
| XYZ | xyz(4.6899, 8.4588, 2.8986) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.10
Forest Green
#2D5A27
ΔE00 3.77
Forest
#0B5509
ΔE00 4.23
Pine
#2B5D34
ΔE00 4.91
Darkgreen
#006400
ΔE00 5.17
Spruce
#0A5F38
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F22 #5F1552
analogous
#2D5F15 #155F22 #155F47
triadic
#155F22 #22155F #5F2215
tetradic
#155F22 #152D5F #5F1552 #5F4715
square
#155F22 #152D5F #5F1552 #5F4715
split-complementary
#155F22 #47155F #5F152D
monochromatic
#061909 #0A2D10 #155F22 #209134 #2BC346
Accessibility & contrast
On white
7.80
#155F22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#155F22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F22
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F22 | 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)
#61561C
Deuteranopia (green-blind)
#585027
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f22; /* rgb */ color: rgb(21, 95, 34); /* oklch */ color: oklch(42.7% 0.118 145.8);
Tailwind
colors: {
custom: {
50: '#5f8d5f',
500: '#155f22',
950: '#000000',
},
}SCSS
$custom: #155f22; $custom-light: #5f8d5f; $custom-dark: #000000;
JSON
{
"hex": "#155f22",
"rgb": {
"r": 21,
"g": 95,
"b": 34
},
"hsl": {
"h": 130.541,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42698,
"c": 0.1177,
"h": 145.8
},
"luminance": 0.08459
}Semantic roles & 50–950 ramp
primary
#155F22
secondary
#963A86
accent
#41CAE7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79