#155F38#155F38
#155F38 is a dark, moderate green. Relative luminance 0.086; OKLCH L 43.1% C 0.096 H 155.1°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #155F38 |
|---|---|
| RGB | rgb(21, 95, 56) |
| HSL | hsl(148, 64%, 23%) |
| HSV | hsv(148, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 41.1%, 62.7%) |
| CIE-LAB | lab(35.26, -32.18, 16.11) |
| CIE-LCH | lch(35.26, 35.98, 153.40°) |
| OKLab | oklab(43.09% -0.0869 0.0403) |
| OKLCH | oklch(43.09% 0.096 155.1) |
| XYZ | xyz(5.1148, 8.6288, 5.1366) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 0.71
Pine
#2B5D34
ΔE00 3.11
Hunter Green
#355E3B
ΔE00 4.46
Forest Green
#2D5A27
ΔE00 5.74
Pine Green
#0A481E
ΔE00 7.58
Evergreen
#05472A
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F38 #5F153C
analogous
#175F15 #155F38 #155F5D
triadic
#155F38 #38155F #5F3815
tetradic
#155F38 #15175F #5F153C #5F5D15
square
#155F38 #15175F #5F153C #5F5D15
split-complementary
#155F38 #5D155F #5F1517
monochromatic
#06190F #0A2D1A #155F38 #209156 #2BC373
Accessibility & contrast
On white
7.70
#155F38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#155F38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F38
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F38 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5735
Deuteranopia (green-blind)
#56503B
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #155f38; /* rgb */ color: rgb(21, 95, 56); /* oklch */ color: oklch(43.1% 0.096 155.1);
Tailwind
colors: {
custom: {
50: '#5f8d6f',
500: '#155f38',
950: '#000000',
},
}SCSS
$custom: #155f38; $custom-light: #5f8d6f; $custom-dark: #000000;
JSON
{
"hex": "#155f38",
"rgb": {
"r": 21,
"g": 95,
"b": 56
},
"hsl": {
"h": 148.378,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.43089,
"c": 0.09574,
"h": 155.1
},
"luminance": 0.08629
}Semantic roles & 50–950 ramp
primary
#155F38
secondary
#963A6A
accent
#4198E7
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A