#155F28#155F28
#155F28 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.112 H 147.7°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #155F28 |
|---|---|
| RGB | rgb(21, 95, 40) |
| HSL | hsl(135, 64%, 23%) |
| HSV | hsv(135, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 57.9%, 62.7%) |
| CIE-LAB | lab(35.00, -35.20, 24.98) |
| CIE-LCH | lch(35.00, 43.16, 144.64°) |
| OKLab | oklab(42.79% -0.0947 0.0599) |
| OKLCH | oklch(42.79% 0.112 147.7) |
| XYZ | xyz(4.7841, 8.4965, 3.3949) |
| Luminance | 0.0850 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.67
Pine
#2B5D34
ΔE00 3.92
Deep Green
#02590F
ΔE00 4.17
Spruce
#0A5F38
ΔE00 4.42
Forest
#0B5509
ΔE00 5.20
Hunter Green
#355E3B
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F28 #5F154C
analogous
#275F15 #155F28 #155F4D
triadic
#155F28 #28155F #5F2815
tetradic
#155F28 #15275F #5F154C #5F4D15
square
#155F28 #15275F #5F154C #5F4D15
split-complementary
#155F28 #4D155F #5F1527
monochromatic
#06190B #0A2D13 #155F28 #20913D #2BC352
Accessibility & contrast
On white
7.78
#155F28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#155F28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F28
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F28 | 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)
#605623
Deuteranopia (green-blind)
#57502C
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f28; /* rgb */ color: rgb(21, 95, 40); /* oklch */ color: oklch(42.8% 0.112 147.7);
Tailwind
colors: {
custom: {
50: '#5f8d63',
500: '#155f28',
950: '#000000',
},
}SCSS
$custom: #155f28; $custom-light: #5f8d63; $custom-dark: #000000;
JSON
{
"hex": "#155f28",
"rgb": {
"r": 21,
"g": 95,
"b": 40
},
"hsl": {
"h": 135.405,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42785,
"c": 0.11209,
"h": 147.7
},
"luminance": 0.08497
}Semantic roles & 50–950 ramp
primary
#155F28
secondary
#963A7E
accent
#41BCE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A