#155F34#155F34
#155F34 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.0% C 0.100 H 152.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #155F34 |
|---|---|
| RGB | rgb(21, 95, 52) |
| HSL | hsl(145, 64%, 23%) |
| HSV | hsv(145, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 45.3%, 62.7%) |
| CIE-LAB | lab(35.19, -33.02, 18.38) |
| CIE-LCH | lch(35.19, 37.79, 150.89°) |
| OKLab | oklab(43% -0.0889 0.0455) |
| OKLCH | oklch(43% 0.1 152.9) |
| XYZ | xyz(5.0209, 8.5912, 4.6418) |
| Luminance | 0.0859 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 1.48
Pine
#2B5D34
ΔE00 2.81
Hunter Green
#355E3B
ΔE00 4.62
Forest Green
#2D5A27
ΔE00 4.94
Deep Green
#02590F
ΔE00 6.97
Pine Green
#0A481E
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F34 #5F1540
analogous
#1B5F15 #155F34 #155F59
triadic
#155F34 #34155F #5F3415
tetradic
#155F34 #151B5F #5F1540 #5F5915
square
#155F34 #151B5F #5F1540 #5F5915
split-complementary
#155F34 #59155F #5F151B
monochromatic
#06190E #0A2D19 #155F34 #20914F #2BC36B
Accessibility & contrast
On white
7.73
#155F34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#155F34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F34
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F34 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5731
Deuteranopia (green-blind)
#565037
Tritanopia (blue-blind)
#005E54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #155f34; /* rgb */ color: rgb(21, 95, 52); /* oklch */ color: oklch(43.0% 0.100 152.9);
Tailwind
colors: {
custom: {
50: '#5f8d6c',
500: '#155f34',
950: '#000000',
},
}SCSS
$custom: #155f34; $custom-light: #5f8d6c; $custom-dark: #000000;
JSON
{
"hex": "#155f34",
"rgb": {
"r": 21,
"g": 95,
"b": 52
},
"hsl": {
"h": 145.135,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.43003,
"c": 0.09989,
"h": 152.9
},
"luminance": 0.08592
}Semantic roles & 50–950 ramp
primary
#155F34
secondary
#963A6F
accent
#41A1E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C07
muted
#797D7A