#155E22#155E22
#155E22 is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.4% C 0.116 H 145.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #155E22 |
|---|---|
| RGB | rgb(21, 94, 34) |
| HSL | hsl(131, 63%, 23%) |
| HSV | hsv(131, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 63.8%, 63.1%) |
| CIE-LAB | lab(34.56, -35.71, 27.66) |
| CIE-LCH | lch(34.56, 45.17, 142.24°) |
| OKLab | oklab(42.4% -0.0963 0.0652) |
| OKLCH | oklch(42.4% 0.116 145.9) |
| XYZ | xyz(4.6004, 8.2798, 2.8688) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.03
Forest Green
#2D5A27
ΔE00 3.58
Forest
#0B5509
ΔE00 4.10
Pine
#2B5D34
ΔE00 4.74
Darkgreen
#006400
ΔE00 5.41
Spruce
#0A5F38
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E22 #5E1551
analogous
#2C5E15 #155E22 #155E46
triadic
#155E22 #22155E #5E2215
tetradic
#155E22 #152C5E #5E1551 #5E4615
square
#155E22 #152C5E #5E1551 #5E4615
split-complementary
#155E22 #46155E #5E152C
monochromatic
#061909 #0A2C10 #155E22 #209034 #2BC246
Accessibility & contrast
On white
7.91
#155E22 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#155E22 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E22
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E22 | 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)
#5F551C
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #155e22; /* rgb */ color: rgb(21, 94, 34); /* oklch */ color: oklch(42.4% 0.116 145.9);
Tailwind
colors: {
custom: {
50: '#5f8c5f',
500: '#155e22',
950: '#000000',
},
}SCSS
$custom: #155e22; $custom-light: #5f8c5f; $custom-dark: #000000;
JSON
{
"hex": "#155e22",
"rgb": {
"r": 21,
"g": 94,
"b": 34
},
"hsl": {
"h": 130.685,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42398,
"c": 0.11632,
"h": 145.9
},
"luminance": 0.0828
}Semantic roles & 50–950 ramp
primary
#155E22
secondary
#953985
accent
#41C9E7
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C05
muted
#797D79