#155F2C#155F2C
#155F2C is a dark, moderate green. Relative luminance 0.085; OKLCH L 42.9% C 0.108 H 149.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #155F2C |
|---|---|
| RGB | rgb(21, 95, 44) |
| HSL | hsl(139, 64%, 23%) |
| HSV | hsv(139, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 53.7%, 62.7%) |
| CIE-LAB | lab(35.05, -34.53, 22.83) |
| CIE-LCH | lch(35.05, 41.39, 146.53°) |
| OKLab | oklab(42.85% -0.0929 0.0553) |
| OKLCH | oklch(42.85% 0.108 149.2) |
| XYZ | xyz(4.8557, 8.5251, 3.7720) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.33
Spruce
#0A5F38
ΔE00 3.48
Forest Green
#2D5A27
ΔE00 3.88
Deep Green
#02590F
ΔE00 5.02
Hunter Green
#355E3B
ΔE00 5.50
Forest
#0B5509
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F2C #5F1548
analogous
#235F15 #155F2C #155F51
triadic
#155F2C #2C155F #5F2C15
tetradic
#155F2C #15235F #5F1548 #5F5115
square
#155F2C #15235F #5F1548 #5F5115
split-complementary
#155F2C #51155F #5F1523
monochromatic
#06190C #0A2D15 #155F2C #209143 #2BC35A
Accessibility & contrast
On white
7.76
#155F2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#155F2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F2C
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F2C | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605628
Deuteranopia (green-blind)
#575030
Tritanopia (blue-blind)
#005D53
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f2c; /* rgb */ color: rgb(21, 95, 44); /* oklch */ color: oklch(42.9% 0.108 149.2);
Tailwind
colors: {
custom: {
50: '#5f8d66',
500: '#155f2c',
950: '#000000',
},
}SCSS
$custom: #155f2c; $custom-light: #5f8d66; $custom-dark: #000000;
JSON
{
"hex": "#155f2c",
"rgb": {
"r": 21,
"g": 95,
"b": 44
},
"hsl": {
"h": 138.649,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42851,
"c": 0.10813,
"h": 149.2
},
"luminance": 0.08526
}Semantic roles & 50–950 ramp
primary
#155F2C
secondary
#963A79
accent
#41B3E7
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A