#155F24#155F24
#155F24 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.7% C 0.116 H 146.4°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #155F24 |
|---|---|
| RGB | rgb(21, 95, 36) |
| HSL | hsl(132, 64%, 23%) |
| HSV | hsv(132, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 62.1%, 62.7%) |
| CIE-LAB | lab(34.94, -35.81, 27.06) |
| CIE-LCH | lch(34.94, 44.89, 142.92°) |
| OKLab | oklab(42.73% -0.0965 0.0641) |
| OKLCH | oklch(42.73% 0.116 146.4) |
| XYZ | xyz(4.7196, 8.4707, 3.0550) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.42
Forest Green
#2D5A27
ΔE00 3.69
Forest
#0B5509
ΔE00 4.53
Pine
#2B5D34
ΔE00 4.57
Spruce
#0A5F38
ΔE00 5.31
Darkgreen
#006400
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F24 #5F1550
analogous
#2B5F15 #155F24 #155F49
triadic
#155F24 #24155F #5F2415
tetradic
#155F24 #152B5F #5F1550 #5F4915
square
#155F24 #152B5F #5F1550 #5F4915
split-complementary
#155F24 #49155F #5F152B
monochromatic
#061909 #0A2D11 #155F24 #209137 #2BC34A
Accessibility & contrast
On white
7.79
#155F24 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#155F24 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F24
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F24 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F24 | 1.00 | 7.79 | 2.69 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60561E
Deuteranopia (green-blind)
#585029
Tritanopia (blue-blind)
#005D52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f24; /* rgb */ color: rgb(21, 95, 36); /* oklch */ color: oklch(42.7% 0.116 146.4);
Tailwind
colors: {
custom: {
50: '#5f8d61',
500: '#155f24',
950: '#000000',
},
}SCSS
$custom: #155f24; $custom-light: #5f8d61; $custom-dark: #000000;
JSON
{
"hex": "#155f24",
"rgb": {
"r": 21,
"g": 95,
"b": 36
},
"hsl": {
"h": 132.162,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42726,
"c": 0.11588,
"h": 146.4
},
"luminance": 0.08471
}Semantic roles & 50–950 ramp
primary
#155F24
secondary
#963A83
accent
#41C5E7
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#050C05
muted
#7A7D79