#155F17#155F17
#155F17 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.127 H 143.3°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #155F17 |
|---|---|
| RGB | rgb(21, 95, 23) |
| HSL | hsl(122, 64%, 23%) |
| HSV | hsv(122, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 75.8%, 62.7%) |
| CIE-LAB | lab(34.81, -37.39, 33.20) |
| CIE-LCH | lch(34.81, 50.00, 138.40°) |
| OKLab | oklab(42.57% -0.1014 0.0757) |
| OKLCH | oklch(42.57% 0.127 143.3) |
| XYZ | xyz(4.5558, 8.4052, 2.1927) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.13
Forest
#0B5509
ΔE00 3.26
Darkgreen
#006400
ΔE00 3.35
Forest Green
#2D5A27
ΔE00 4.66
Bottle Green
#044A05
ΔE00 6.56
Pine
#2B5D34
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F17 #5F155D
analogous
#385F15 #155F17 #155F3C
triadic
#155F17 #17155F #5F1715
tetradic
#155F17 #15385F #5F155D #5F3C15
square
#155F17 #15385F #5F155D #5F3C15
split-complementary
#155F17 #3C155F #5F1538
monochromatic
#061906 #0A2D0B #155F17 #209123 #2BC32F
Accessibility & contrast
On white
7.83
#155F17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#155F17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F17
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F17 | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61550B
Deuteranopia (green-blind)
#59501E
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f17; /* rgb */ color: rgb(21, 95, 23); /* oklch */ color: oklch(42.6% 0.127 143.3);
Tailwind
colors: {
custom: {
50: '#608d59',
500: '#155f17',
950: '#000000',
},
}SCSS
$custom: #155f17; $custom-light: #608d59; $custom-dark: #000000;
JSON
{
"hex": "#155f17",
"rgb": {
"r": 21,
"g": 95,
"b": 23
},
"hsl": {
"h": 121.622,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42574,
"c": 0.12654,
"h": 143.3
},
"luminance": 0.08406
}Semantic roles & 50–950 ramp
primary
#155F17
secondary
#963A94
accent
#41E2E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79