#187015#187015
#187015 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.148 H 142.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #187015 |
|---|---|
| RGB | rgb(24, 112, 21) |
| HSL | hsl(118, 68%, 26%) |
| HSV | hsv(118, 81%, 44%) |
| CMYK | cmyk(78.6%, 0%, 81.2%, 56.1%) |
| CIE-LAB | lab(40.95, -43.08, 40.15) |
| CIE-LCH | lch(40.95, 58.89, 137.01°) |
| OKLab | oklab(47.69% -0.1171 0.0899) |
| OKLCH | oklch(47.69% 0.148 142.5) |
| XYZ | xyz(6.3058, 11.8359, 2.6616) |
| Luminance | 0.1184 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.14
Tree Green
#2A7E19
ΔE00 5.12
Darkish Green
#287C37
ΔE00 5.84
Green
#008000
ΔE00 5.91
Dark Grass Green
#388004
ΔE00 7.15
Deep Green
#02590F
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#187015 #6D1570
analogous
#457015 #187015 #15703F
triadic
#187015 #151870 #701518
tetradic
#187015 #154570 #6D1570 #703F15
square
#187015 #154570 #6D1570 #703F15
split-complementary
#187015 #3F1570 #701545
monochromatic
#061A05 #0D3C0B #187015 #23A41F #2ED729
Accessibility & contrast
On white
6.24
#187015 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#187015 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #187015
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##187015 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##187015 | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736500
Deuteranopia (green-blind)
#695E20
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #187015; /* rgb */ color: rgb(24, 112, 21); /* oklch */ color: oklch(47.7% 0.148 142.5);
Tailwind
colors: {
custom: {
50: '#669a5a',
500: '#187015',
950: '#000000',
},
}SCSS
$custom: #187015; $custom-light: #669a5a; $custom-dark: #000000;
JSON
{
"hex": "#187015",
"rgb": {
"r": 24,
"g": 112,
"b": 21
},
"hsl": {
"h": 118.022,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.47689,
"c": 0.14762,
"h": 142.5
},
"luminance": 0.11837
}Semantic roles & 50–950 ramp
primary
#187015
secondary
#A33BA6
accent
#3DEBE6
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79