#155F2A#155F2A
#155F2A is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.110 H 148.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #155F2A |
|---|---|
| RGB | rgb(21, 95, 42) |
| HSL | hsl(137, 64%, 23%) |
| HSV | hsv(137, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 55.8%, 62.7%) |
| CIE-LAB | lab(35.02, -34.87, 23.91) |
| CIE-LCH | lch(35.02, 42.28, 145.57°) |
| OKLab | oklab(42.82% -0.0938 0.0576) |
| OKLCH | oklch(42.82% 0.11 148.4) |
| XYZ | xyz(4.8190, 8.5105, 3.5788) |
| Luminance | 0.0851 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.61
Forest Green
#2D5A27
ΔE00 3.75
Spruce
#0A5F38
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.58
Forest
#0B5509
ΔE00 5.58
Hunter Green
#355E3B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F2A #5F154A
analogous
#255F15 #155F2A #155F4F
triadic
#155F2A #2A155F #5F2A15
tetradic
#155F2A #15255F #5F154A #5F4F15
square
#155F2A #15255F #5F154A #5F4F15
split-complementary
#155F2A #4F155F #5F1525
monochromatic
#06190B #0A2D14 #155F2A #209140 #2BC356
Accessibility & contrast
On white
7.77
#155F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#155F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F2A
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F2A | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605625
Deuteranopia (green-blind)
#57502E
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f2a; /* rgb */ color: rgb(21, 95, 42); /* oklch */ color: oklch(42.8% 0.110 148.4);
Tailwind
colors: {
custom: {
50: '#5f8d65',
500: '#155f2a',
950: '#000000',
},
}SCSS
$custom: #155f2a; $custom-light: #5f8d65; $custom-dark: #000000;
JSON
{
"hex": "#155f2a",
"rgb": {
"r": 21,
"g": 95,
"b": 42
},
"hsl": {
"h": 137.027,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42817,
"c": 0.11012,
"h": 148.4
},
"luminance": 0.08511
}Semantic roles & 50–950 ramp
primary
#155F2A
secondary
#963A7C
accent
#41B8E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C05
muted
#797D7A