#155F2B#155F2B
#155F2B is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.8% C 0.109 H 148.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #155F2B |
|---|---|
| RGB | rgb(21, 95, 43) |
| HSL | hsl(138, 64%, 23%) |
| HSV | hsv(138, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 54.7%, 62.7%) |
| CIE-LAB | lab(35.04, -34.70, 23.37) |
| CIE-LCH | lch(35.04, 41.84, 146.05°) |
| OKLab | oklab(42.83% -0.0934 0.0565) |
| OKLCH | oklch(42.83% 0.109 148.8) |
| XYZ | xyz(4.8371, 8.5177, 3.6742) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.47
Spruce
#0A5F38
ΔE00 3.72
Forest Green
#2D5A27
ΔE00 3.81
Deep Green
#02590F
ΔE00 4.80
Hunter Green
#355E3B
ΔE00 5.64
Forest
#0B5509
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F2B #5F1549
analogous
#245F15 #155F2B #155F50
triadic
#155F2B #2B155F #5F2B15
tetradic
#155F2B #15245F #5F1549 #5F5015
square
#155F2B #15245F #5F1549 #5F5015
split-complementary
#155F2B #50155F #5F1524
monochromatic
#06190B #0A2D14 #155F2B #209142 #2BC358
Accessibility & contrast
On white
7.77
#155F2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#155F2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F2B
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F2B | 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)
#605627
Deuteranopia (green-blind)
#57502F
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f2b; /* rgb */ color: rgb(21, 95, 43); /* oklch */ color: oklch(42.8% 0.109 148.8);
Tailwind
colors: {
custom: {
50: '#5f8d65',
500: '#155f2b',
950: '#000000',
},
}SCSS
$custom: #155f2b; $custom-light: #5f8d65; $custom-dark: #000000;
JSON
{
"hex": "#155f2b",
"rgb": {
"r": 21,
"g": 95,
"b": 43
},
"hsl": {
"h": 137.838,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42834,
"c": 0.10913,
"h": 148.8
},
"luminance": 0.08518
}Semantic roles & 50–950 ramp
primary
#155F2B
secondary
#963A7B
accent
#41B6E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A