#155F30#155F30
#155F30 is a dark, moderate green. Relative luminance 0.086; OKLCH L 42.9% C 0.104 H 150.9°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #155F30 |
|---|---|
| RGB | rgb(21, 95, 48) |
| HSL | hsl(142, 64%, 23%) |
| HSV | hsv(142, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 49.5%, 62.7%) |
| CIE-LAB | lab(35.12, -33.80, 20.62) |
| CIE-LCH | lch(35.12, 39.60, 148.61°) |
| OKLab | oklab(42.92% -0.0909 0.0505) |
| OKLCH | oklch(42.92% 0.104 150.9) |
| XYZ | xyz(4.9346, 8.5567, 4.1873) |
| Luminance | 0.0856 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.48
Pine
#2B5D34
ΔE00 2.91
Forest Green
#2D5A27
ΔE00 4.31
Hunter Green
#355E3B
ΔE00 4.99
Deep Green
#02590F
ΔE00 5.96
Forest
#0B5509
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F30 #5F1544
analogous
#1F5F15 #155F30 #155F55
triadic
#155F30 #30155F #5F3015
tetradic
#155F30 #151F5F #5F1544 #5F5515
square
#155F30 #151F5F #5F1544 #5F5515
split-complementary
#155F30 #55155F #5F151F
monochromatic
#06190D #0A2D17 #155F30 #209149 #2BC363
Accessibility & contrast
On white
7.75
#155F30 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#155F30 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F30
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F30 | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562C
Deuteranopia (green-blind)
#575033
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #155f30; /* rgb */ color: rgb(21, 95, 48); /* oklch */ color: oklch(42.9% 0.104 150.9);
Tailwind
colors: {
custom: {
50: '#5f8d69',
500: '#155f30',
950: '#000000',
},
}SCSS
$custom: #155f30; $custom-light: #5f8d69; $custom-dark: #000000;
JSON
{
"hex": "#155f30",
"rgb": {
"r": 21,
"g": 95,
"b": 48
},
"hsl": {
"h": 141.892,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42924,
"c": 0.10405,
"h": 150.9
},
"luminance": 0.08557
}Semantic roles & 50–950 ramp
primary
#155F30
secondary
#963A74
accent
#41AAE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A