#155E31#155E31
#155E31 is a dark, moderate green. Relative luminance 0.084; OKLCH L 42.6% C 0.102 H 151.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #155E31 |
|---|---|
| RGB | rgb(21, 94, 49) |
| HSL | hsl(143, 63%, 23%) |
| HSV | hsv(143, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 47.9%, 63.1%) |
| CIE-LAB | lab(34.77, -33.20, 19.61) |
| CIE-LCH | lch(34.77, 38.55, 149.43°) |
| OKLab | oklab(42.65% -0.0893 0.0482) |
| OKLCH | oklch(42.65% 0.102 151.6) |
| XYZ | xyz(4.8659, 8.3860, 4.2674) |
| Luminance | 0.0839 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.08
Pine
#2B5D34
ΔE00 2.73
Forest Green
#2D5A27
ΔE00 4.43
Hunter Green
#355E3B
ΔE00 4.77
Deep Green
#02590F
ΔE00 6.30
Pine Green
#0A481E
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E31 #5E1542
analogous
#1D5E15 #155E31 #155E56
triadic
#155E31 #31155E #5E3115
tetradic
#155E31 #151D5E #5E1542 #5E5615
square
#155E31 #151D5E #5E1542 #5E5615
split-complementary
#155E31 #56155E #5E151D
monochromatic
#06190D #0A2C17 #155E31 #20904B #2BC265
Accessibility & contrast
On white
7.84
#155E31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#155E31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E31
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E31 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552E
Deuteranopia (green-blind)
#564F34
Tritanopia (blue-blind)
#005C53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155e31; /* rgb */ color: rgb(21, 94, 49); /* oklch */ color: oklch(42.6% 0.102 151.6);
Tailwind
colors: {
custom: {
50: '#5f8c6a',
500: '#155e31',
950: '#000000',
},
}SCSS
$custom: #155e31; $custom-light: #5f8c6a; $custom-dark: #000000;
JSON
{
"hex": "#155e31",
"rgb": {
"r": 21,
"g": 94,
"b": 49
},
"hsl": {
"h": 143.014,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42647,
"c": 0.10154,
"h": 151.6
},
"luminance": 0.08387
}Semantic roles & 50–950 ramp
primary
#155E31
secondary
#953972
accent
#41A7E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A