#155F2E#155F2E
#155F2E is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.106 H 150.0°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #155F2E |
|---|---|
| RGB | rgb(21, 95, 46) |
| HSL | hsl(140, 64%, 23%) |
| HSV | hsv(140, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 51.6%, 62.7%) |
| CIE-LAB | lab(35.08, -34.17, 21.73) |
| CIE-LCH | lch(35.08, 40.50, 147.55°) |
| OKLab | oklab(42.89% -0.0919 0.053) |
| OKLCH | oklch(42.89% 0.106 150) |
| XYZ | xyz(4.8942, 8.5405, 3.9748) |
| Luminance | 0.0854 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.99
Pine
#2B5D34
ΔE00 3.09
Forest Green
#2D5A27
ΔE00 4.07
Hunter Green
#355E3B
ΔE00 5.23
Deep Green
#02590F
ΔE00 5.48
Forest
#0B5509
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F2E #5F1546
analogous
#215F15 #155F2E #155F53
triadic
#155F2E #2E155F #5F2E15
tetradic
#155F2E #15215F #5F1546 #5F5315
square
#155F2E #15215F #5F1546 #5F5315
split-complementary
#155F2E #53155F #5F1521
monochromatic
#06190C #0A2D16 #155F2E #209146 #2BC35F
Accessibility & contrast
On white
7.75
#155F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#155F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F2E
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F2E | 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)
#60562A
Deuteranopia (green-blind)
#575031
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f2e; /* rgb */ color: rgb(21, 95, 46); /* oklch */ color: oklch(42.9% 0.106 150.0);
Tailwind
colors: {
custom: {
50: '#5f8d67',
500: '#155f2e',
950: '#000000',
},
}SCSS
$custom: #155f2e; $custom-light: #5f8d67; $custom-dark: #000000;
JSON
{
"hex": "#155f2e",
"rgb": {
"r": 21,
"g": 95,
"b": 46
},
"hsl": {
"h": 140.27,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42887,
"c": 0.1061,
"h": 150
},
"luminance": 0.08541
}Semantic roles & 50–950 ramp
primary
#155F2E
secondary
#963A77
accent
#41AFE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A