#155D28#155D28
#155D28 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.109 H 148.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #155D28 |
|---|---|
| RGB | rgb(21, 93, 40) |
| HSL | hsl(136, 63%, 22%) |
| HSV | hsv(136, 77%, 36%) |
| CMYK | cmyk(77.4%, 0%, 57%, 63.5%) |
| CIE-LAB | lab(34.27, -34.41, 24.10) |
| CIE-LCH | lch(34.27, 42.01, 144.99°) |
| OKLab | oklab(42.19% -0.0926 0.0579) |
| OKLCH | oklch(42.19% 0.109 148) |
| XYZ | xyz(4.6063, 8.1408, 3.3356) |
| Luminance | 0.0814 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.43
Pine
#2B5D34
ΔE00 3.59
Spruce
#0A5F38
ΔE00 4.16
Deep Green
#02590F
ΔE00 4.23
Forest
#0B5509
ΔE00 5.12
Hunter Green
#355E3B
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155D28 #5D154A
analogous
#265D15 #155D28 #155D4C
triadic
#155D28 #28155D #5D2815
tetradic
#155D28 #15265D #5D154A #5D4C15
square
#155D28 #15265D #5D154A #5D4C15
split-complementary
#155D28 #4C155D #5D1526
monochromatic
#06190B #0A2B13 #155D28 #208F3D #2CC153
Accessibility & contrast
On white
7.99
#155D28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#155D28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155D28
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155D28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155D28 | 1.00 | 7.99 | 2.63 | 7.99 |
| #FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5423
Deuteranopia (green-blind)
#564E2C
Tritanopia (blue-blind)
#005B51
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #155d28; /* rgb */ color: rgb(21, 93, 40); /* oklch */ color: oklch(42.2% 0.109 148.0);
Tailwind
colors: {
custom: {
50: '#5f8c63',
500: '#155d28',
950: '#000000',
},
}SCSS
$custom: #155d28; $custom-light: #5f8c63; $custom-dark: #000000;
JSON
{
"hex": "#155d28",
"rgb": {
"r": 21,
"g": 93,
"b": 40
},
"hsl": {
"h": 135.833,
"s": 63.158,
"l": 22.353
},
"oklch": {
"l": 0.42188,
"c": 0.10924,
"h": 148
},
"luminance": 0.08141
}Semantic roles & 50–950 ramp
primary
#155D28
secondary
#94397C
accent
#42BBE6
background
#F5F8F5
surface
#EAF0EA
border
#C6CBC6
text
#050C05
muted
#797D79