#155F18#155F18
#155F18 is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.6% C 0.126 H 143.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #155F18 |
|---|---|
| RGB | rgb(21, 95, 24) |
| HSL | hsl(122, 64%, 23%) |
| HSV | hsv(122, 78%, 37%) |
| CMYK | cmyk(77.9%, 0%, 74.7%, 62.7%) |
| CIE-LAB | lab(34.82, -37.29, 32.77) |
| CIE-LCH | lch(34.82, 49.64, 138.70°) |
| OKLab | oklab(42.58% -0.1011 0.0749) |
| OKLCH | oklch(42.58% 0.126 143.5) |
| XYZ | xyz(4.5661, 8.4093, 2.2465) |
| Luminance | 0.0841 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 2.15
Forest
#0B5509
ΔE00 3.30
Darkgreen
#006400
ΔE00 3.48
Forest Green
#2D5A27
ΔE00 4.57
Pine
#2B5D34
ΔE00 6.50
Bottle Green
#044A05
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#155F18 #5F155C
analogous
#375F15 #155F18 #155F3D
triadic
#155F18 #18155F #5F1815
tetradic
#155F18 #15375F #5F155C #5F3D15
square
#155F18 #15375F #5F155C #5F3D15
split-complementary
#155F18 #3D155F #5F1537
monochromatic
#061906 #0A2D0B #155F18 #209125 #2BC331
Accessibility & contrast
On white
7.83
#155F18 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#155F18 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #155F18
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##155F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##155F18 | 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)
#61550D
Deuteranopia (green-blind)
#59501F
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #155f18; /* rgb */ color: rgb(21, 95, 24); /* oklch */ color: oklch(42.6% 0.126 143.5);
Tailwind
colors: {
custom: {
50: '#608d59',
500: '#155f18',
950: '#000000',
},
}SCSS
$custom: #155f18; $custom-light: #608d59; $custom-dark: #000000;
JSON
{
"hex": "#155f18",
"rgb": {
"r": 21,
"g": 95,
"b": 24
},
"hsl": {
"h": 122.432,
"s": 63.793,
"l": 22.745
},
"oklch": {
"l": 0.42584,
"c": 0.12582,
"h": 143.5
},
"luminance": 0.0841
}Semantic roles & 50–950 ramp
primary
#155F18
secondary
#963A93
accent
#41E0E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C04
muted
#7A7D79