#155F2F#155F2F
#155F2F is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.105 H 150.5°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #155F2F |
|---|---|
| RGB | rgb(21, 95, 47) |
| HSL | hsl(141, 64%, 23%) |
| HSV | hsv(141, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 50.5%, 62.7%) |
| CIE-LAB | lab(35.10, -33.99, 21.18) |
| CIE-LCH | lch(35.10, 40.05, 148.07°) |
| OKLab | oklab(42.91% -0.0914 0.0518) |
| OKLCH | oklch(42.91% 0.105 150.5) |
| XYZ | xyz(4.9142, 8.5485, 4.0798) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.74
Pine
#2B5D34
ΔE00 2.99
Forest Green
#2D5A27
ΔE00 4.18
Hunter Green
#355E3B
ΔE00 5.11
Deep Green
#02590F
ΔE00 5.71
Forest
#0B5509
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F2F #5F1545
analogous
#205F15 #155F2F #155F54
triadic
#155F2F #2F155F #5F2F15
tetradic
#155F2F #15205F #5F1545 #5F5415
square
#155F2F #15205F #5F1545 #5F5415
split-complementary
#155F2F #54155F #5F1520
monochromatic
#06190C #0A2D16 #155F2F #209148 #2BC361
Accessibility & contrast
On white
7.75
#155F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#155F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F2F
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F2F | 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)
#60562B
Deuteranopia (green-blind)
#575032
Tritanopia (blue-blind)
#005D54
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #155f2f; /* rgb */ color: rgb(21, 95, 47); /* oklch */ color: oklch(42.9% 0.105 150.5);
Tailwind
colors: {
custom: {
50: '#5f8d68',
500: '#155f2f',
950: '#000000',
},
}SCSS
$custom: #155f2f; $custom-light: #5f8d68; $custom-dark: #000000;
JSON
{
"hex": "#155f2f",
"rgb": {
"r": 21,
"g": 95,
"b": 47
},
"hsl": {
"h": 141.081,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42905,
"c": 0.10507,
"h": 150.5
},
"luminance": 0.08549
}Semantic roles & 50–950 ramp
primary
#155F2F
secondary
#963A76
accent
#41ADE7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A