#155E2B#155E2B
#155E2B is a dark, moderate green. Relative luminance 0.083; OKLCH L 42.5% C 0.108 H 149.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #155E2B |
|---|---|
| RGB | rgb(21, 94, 43) |
| HSL | hsl(138, 63%, 23%) |
| HSV | hsv(138, 78%, 37%) |
| CMYK | cmyk(77.7%, 0%, 54.3%, 63.1%) |
| CIE-LAB | lab(34.68, -34.30, 22.92) |
| CIE-LCH | lch(34.68, 41.26, 146.25°) |
| OKLab | oklab(42.54% -0.0923 0.0555) |
| OKLCH | oklch(42.54% 0.108 149) |
| XYZ | xyz(4.7476, 8.3387, 3.6444) |
| Luminance | 0.0834 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.30
Spruce
#0A5F38
ΔE00 3.57
Forest Green
#2D5A27
ΔE00 3.71
Deep Green
#02590F
ΔE00 4.84
Hunter Green
#355E3B
ΔE00 5.50
Forest
#0B5509
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155E2B #5E1548
analogous
#245E15 #155E2B #155E4F
triadic
#155E2B #2B155E #5E2B15
tetradic
#155E2B #15245E #5E1548 #5E4F15
square
#155E2B #15245E #5E1548 #5E4F15
split-complementary
#155E2B #4F155E #5E1524
monochromatic
#06190B #0A2C14 #155E2B #209042 #2BC259
Accessibility & contrast
On white
7.87
#155E2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#155E2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155E2B
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155E2B | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5527
Deuteranopia (green-blind)
#564F2F
Tritanopia (blue-blind)
#005C52
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155e2b; /* rgb */ color: rgb(21, 94, 43); /* oklch */ color: oklch(42.5% 0.108 149.0);
Tailwind
colors: {
custom: {
50: '#5f8c65',
500: '#155e2b',
950: '#000000',
},
}SCSS
$custom: #155e2b; $custom-light: #5f8c65; $custom-dark: #000000;
JSON
{
"hex": "#155e2b",
"rgb": {
"r": 21,
"g": 94,
"b": 43
},
"hsl": {
"h": 138.082,
"s": 63.478,
"l": 22.549
},
"oklch": {
"l": 0.42536,
"c": 0.10769,
"h": 149
},
"luminance": 0.08339
}Semantic roles & 50–950 ramp
primary
#155E2B
secondary
#95397A
accent
#41B5E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A