#155F27#155F27
#155F27 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.113 H 147.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #155F27 |
|---|---|
| RGB | rgb(21, 95, 39) |
| HSL | hsl(135, 64%, 23%) |
| HSV | hsv(135, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 58.9%, 62.7%) |
| CIE-LAB | lab(34.98, -35.36, 25.50) |
| CIE-LCH | lch(34.98, 43.60, 144.20°) |
| OKLab | oklab(42.77% -0.0952 0.061) |
| OKLCH | oklch(42.77% 0.113 147.4) |
| XYZ | xyz(4.7673, 8.4898, 3.3065) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.66
Deep Green
#02590F
ΔE00 3.97
Pine
#2B5D34
ΔE00 4.08
Spruce
#0A5F38
ΔE00 4.65
Forest
#0B5509
ΔE00 5.02
Darkgreen
#006400
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F27 #5F154D
analogous
#285F15 #155F27 #155F4C
triadic
#155F27 #27155F #5F2715
tetradic
#155F27 #15285F #5F154D #5F4C15
square
#155F27 #15285F #5F154D #5F4C15
split-complementary
#155F27 #4C155F #5F1528
monochromatic
#06190A #0A2D12 #155F27 #20913C #2BC350
Accessibility & contrast
On white
7.78
#155F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#155F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F27
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F27 | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605622
Deuteranopia (green-blind)
#58502B
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f27; /* rgb */ color: rgb(21, 95, 39); /* oklch */ color: oklch(42.8% 0.113 147.4);
Tailwind
colors: {
custom: {
50: '#5f8d63',
500: '#155f27',
950: '#000000',
},
}SCSS
$custom: #155f27; $custom-light: #5f8d63; $custom-dark: #000000;
JSON
{
"hex": "#155f27",
"rgb": {
"r": 21,
"g": 95,
"b": 39
},
"hsl": {
"h": 134.595,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.4277,
"c": 0.11305,
"h": 147.4
},
"luminance": 0.0849
}Semantic roles & 50–950 ramp
primary
#155F27
secondary
#963A80
accent
#41BEE7
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79