#18702D#18702D
#18702D is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.130 H 147.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #18702D |
|---|---|
| RGB | rgb(24, 112, 45) |
| HSL | hsl(134, 65%, 27%) |
| HSV | hsv(134, 79%, 44%) |
| CMYK | cmyk(78.6%, 0%, 59.8%, 56.1%) |
| CIE-LAB | lab(41.17, -40.46, 29.72) |
| CIE-LCH | lch(41.17, 50.20, 143.70°) |
| OKLab | oklab(47.94% -0.1089 0.0707) |
| OKLCH | oklch(47.94% 0.13 147) |
| XYZ | xyz(6.6440, 11.9712, 4.4426) |
| Luminance | 0.1197 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.31
Darkgreen
#006400
ΔE00 6.22
Jungle Green
#048243
ΔE00 6.63
Tree Green
#2A7E19
ΔE00 7.06
Deep Green
#02590F
ΔE00 7.79
Forest Green
#2D5A27
ΔE00 8.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18702D #70185B
analogous
#2F7018 #18702D #187059
triadic
#18702D #2D1870 #702D18
tetradic
#18702D #182F70 #70185B #705918
square
#18702D #182F70 #70185B #705918
split-complementary
#18702D #591870 #70182F
monochromatic
#05190A #0D3E19 #18702D #23A241 #30D357
Accessibility & contrast
On white
6.19
#18702D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#18702D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18702D
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18702D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18702D | 1.00 | 6.19 | 3.39 | 6.19 |
| #FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716526
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #18702d; /* rgb */ color: rgb(24, 112, 45); /* oklch */ color: oklch(47.9% 0.130 147.0);
Tailwind
colors: {
custom: {
50: '#659a68',
500: '#18702d',
950: '#000000',
},
}SCSS
$custom: #18702d; $custom-light: #659a68; $custom-dark: #000000;
JSON
{
"hex": "#18702d",
"rgb": {
"r": 24,
"g": 112,
"b": 45
},
"hsl": {
"h": 134.318,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.47938,
"c": 0.12981,
"h": 147
},
"luminance": 0.11972
}Semantic roles & 50–950 ramp
primary
#18702D
secondary
#A53E8D
accent
#40C0E8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A