#155C17#155C17
#155C17 is a dark, vivid green. Relative luminance 0.079; OKLCH L 41.7% C 0.123 H 143.3°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).
Color values
| HEX | #155C17 |
|---|---|
| RGB | rgb(21, 92, 23) |
| HSL | hsl(122, 63%, 22%) |
| HSV | hsv(122, 77%, 36%) |
| CMYK | cmyk(77.2%, 0%, 75%, 63.9%) |
| CIE-LAB | lab(33.72, -36.28, 32.05) |
| CIE-LCH | lch(33.72, 48.41, 138.54°) |
| OKLab | oklab(41.67% -0.0984 0.0733) |
| OKLCH | oklch(41.67% 0.123 143.3) |
| XYZ | xyz(4.2908, 7.8751, 2.1044) |
| Luminance | 0.0788 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 1.50
Forest
#0B5509
ΔE00 2.49
Forest Green
#2D5A27
ΔE00 4.14
Darkgreen
#006400
ΔE00 4.16
Bottle Green
#044A05
ΔE00 5.63
Darkgreen (survey)
#054907
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155C17 #5C155A
analogous
#375C15 #155C17 #155C3B
triadic
#155C17 #17155C #5C1715
tetradic
#155C17 #15375C #5C155A #5C3B15
square
#155C17 #15375C #5C155A #5C3B15
split-complementary
#155C17 #3B155C #5C1537
monochromatic
#061906 #0A2A0B #155C17 #208E23 #2CC030
Accessibility & contrast
On white
8.15
#155C17 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.58
#155C17 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155C17
8.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155C17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155C17 | 1.00 | 8.15 | 2.58 | 8.15 |
| #FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E530C
Deuteranopia (green-blind)
#564D1E
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #155c17; /* rgb */ color: rgb(21, 92, 23); /* oklch */ color: oklch(41.7% 0.123 143.3);
Tailwind
colors: {
custom: {
50: '#5f8b58',
500: '#155c17',
950: '#000000',
},
}SCSS
$custom: #155c17; $custom-light: #5f8b58; $custom-dark: #000000;
JSON
{
"hex": "#155c17",
"rgb": {
"r": 21,
"g": 92,
"b": 23
},
"hsl": {
"h": 121.69,
"s": 62.832,
"l": 22.157
},
"oklch": {
"l": 0.41668,
"c": 0.12269,
"h": 143.3
},
"luminance": 0.07876
}Semantic roles & 50–950 ramp
primary
#155C17
secondary
#933991
accent
#42E1E6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C03
muted
#7A7D78