#155E38#155E38
#155E38 is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.094 H 155.5°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #155E38 |
|---|---|
| RGB | rgb(21, 94, 56) |
| HSL | hsl(149, 63%, 23%) |
| HSV | hsv(149, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 40.4%, 63.1%) |
| CIE-LAB | lab(34.90, -31.75, 15.64) |
| CIE-LCH | lch(34.90, 35.39, 153.78°) |
| OKLab | oklab(42.79% -0.0858 0.0391) |
| OKLCH | oklch(42.79% 0.094 155.5) |
| XYZ | xyz(5.0253, 8.4498, 5.1067) |
| Luminance | 0.0845 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 0.80
Pine
#2B5D34
ΔE00 3.13
Hunter Green
#355E3B
ΔE00 4.42
Forest Green
#2D5A27
ΔE00 5.81
Pine Green
#0A481E
ΔE00 7.35
Evergreen
#05472A
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E38 #5E153B
analogous
#175E15 #155E38 #155E5C
triadic
#155E38 #38155E #5E3815
tetradic
#155E38 #15175E #5E153B #5E5C15
square
#155E38 #15175E #5E153B #5E5C15
split-complementary
#155E38 #5C155E #5E1517
monochromatic
#06190F #0A2C1A #155E38 #209056 #2BC274
Accessibility & contrast
On white
7.81
#155E38 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#155E38 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E38
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E38 | 1.00 | 7.81 | 2.69 | 7.81 |
| #FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5635
Deuteranopia (green-blind)
#55503B
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155e38; /* rgb */ color: rgb(21, 94, 56); /* oklch */ color: oklch(42.8% 0.094 155.5);
Tailwind
colors: {
custom: {
50: '#5f8c6f',
500: '#155e38',
950: '#000000',
},
}SCSS
$custom: #155e38; $custom-light: #5f8c6f; $custom-dark: #000000;
JSON
{
"hex": "#155e38",
"rgb": {
"r": 21,
"g": 94,
"b": 56
},
"hsl": {
"h": 148.767,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42794,
"c": 0.09425,
"h": 155.5
},
"luminance": 0.0845
}Semantic roles & 50–950 ramp
primary
#155E38
secondary
#953969
accent
#4197E7
background
#F5F8F6
surface
#EAF0EC
border
#C6CBC7
text
#050C07
muted
#797D7A