#155B27#155B27
#155B27 is a dark, moderate green. Relative luminance 0.078; OKLCH L 41.6% C 0.107 H 147.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #155B27 |
|---|---|
| RGB | rgb(21, 91, 39) |
| HSL | hsl(135, 63%, 22%) |
| HSV | hsv(135, 77%, 36%) |
| CMYK | cmyk(76.9%, 0%, 57.1%, 64.3%) |
| CIE-LAB | lab(33.54, -33.77, 23.76) |
| CIE-LCH | lch(33.54, 41.29, 144.87°) |
| OKLab | oklab(41.57% -0.0909 0.0571) |
| OKLCH | oklch(41.57% 0.107 147.9) |
| XYZ | xyz(4.4162, 7.7876, 3.1895) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.26
Pine
#2B5D34
ΔE00 3.53
Deep Green
#02590F
ΔE00 4.19
Spruce
#0A5F38
ΔE00 4.22
Forest
#0B5509
ΔE00 4.93
Hunter Green
#355E3B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155B27 #5B1549
analogous
#265B15 #155B27 #155B4A
triadic
#155B27 #27155B #5B2715
tetradic
#155B27 #15265B #5B1549 #5B4A15
square
#155B27 #15265B #5B1549 #5B4A15
split-complementary
#155B27 #4A155B #5B1526
monochromatic
#06190B #0A2912 #155B27 #208D3C #2CBE52
Accessibility & contrast
On white
8.21
#155B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#155B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155B27
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155B27 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5222
Deuteranopia (green-blind)
#544D2B
Tritanopia (blue-blind)
#00594F
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #155b27; /* rgb */ color: rgb(21, 91, 39); /* oklch */ color: oklch(41.6% 0.107 147.9);
Tailwind
colors: {
custom: {
50: '#5e8a62',
500: '#155b27',
950: '#000000',
},
}SCSS
$custom: #155b27; $custom-light: #5e8a62; $custom-dark: #000000;
JSON
{
"hex": "#155b27",
"rgb": {
"r": 21,
"g": 91,
"b": 39
},
"hsl": {
"h": 135.429,
"s": 62.5,
"l": 21.961
},
"oklch": {
"l": 0.41573,
"c": 0.10737,
"h": 147.9
},
"luminance": 0.07788
}Semantic roles & 50–950 ramp
primary
#155B27
secondary
#92397C
accent
#42BCE6
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79