#155D2F#155D2F
#155D2F is a dark, moderate green. Relative luminance 0.082; OKLCH L 42.3% C 0.102 H 150.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #155D2F |
|---|---|
| RGB | rgb(21, 93, 47) |
| HSL | hsl(142, 63%, 22%) |
| HSV | hsv(142, 77%, 36%) |
| CMYK | cmyk(77.4%, 0%, 49.5%, 63.5%) |
| CIE-LAB | lab(34.38, -33.17, 20.26) |
| CIE-LCH | lch(34.38, 38.87, 148.57°) |
| OKLab | oklab(42.31% -0.0892 0.0497) |
| OKLCH | oklch(42.31% 0.102 150.9) |
| XYZ | xyz(4.7363, 8.1928, 4.0205) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.47
Pine
#2B5D34
ΔE00 2.75
Forest Green
#2D5A27
ΔE00 4.13
Hunter Green
#355E3B
ΔE00 4.88
Deep Green
#02590F
ΔE00 5.90
Pine Green
#0A481E
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155D2F #5D1543
analogous
#1F5D15 #155D2F #155D53
triadic
#155D2F #2F155D #5D2F15
tetradic
#155D2F #151F5D #5D1543 #5D5315
square
#155D2F #151F5D #5D1543 #5D5315
split-complementary
#155D2F #53155D #5D151F
monochromatic
#06190D #0A2B16 #155D2F #208F48 #2CC161
Accessibility & contrast
On white
7.96
#155D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#155D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155D2F
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155D2F | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D552B
Deuteranopia (green-blind)
#554E32
Tritanopia (blue-blind)
#005B52
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #155d2f; /* rgb */ color: rgb(21, 93, 47); /* oklch */ color: oklch(42.3% 0.102 150.9);
Tailwind
colors: {
custom: {
50: '#5e8c68',
500: '#155d2f',
950: '#000000',
},
}SCSS
$custom: #155d2f; $custom-light: #5e8c68; $custom-dark: #000000;
JSON
{
"hex": "#155d2f",
"rgb": {
"r": 21,
"g": 93,
"b": 47
},
"hsl": {
"h": 141.667,
"s": 63.158,
"l": 22.353
},
"oklch": {
"l": 0.42311,
"c": 0.10215,
"h": 150.9
},
"luminance": 0.08193
}Semantic roles & 50–950 ramp
primary
#155D2F
secondary
#943974
accent
#42ABE6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A