#18702F#18702F
#18702F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.0% C 0.128 H 147.6°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #18702F |
|---|---|
| RGB | rgb(24, 112, 47) |
| HSL | hsl(136, 65%, 27%) |
| HSV | hsv(136, 79%, 44%) |
| CMYK | cmyk(78.6%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.20, -40.16, 28.70) |
| CIE-LCH | lch(41.20, 49.36, 144.44°) |
| OKLab | oklab(47.97% -0.108 0.0686) |
| OKLCH | oklch(47.97% 0.128 147.6) |
| XYZ | xyz(6.6834, 11.9870, 4.6503) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.33
Jungle Green
#048243
ΔE00 6.50
Darkgreen
#006400
ΔE00 6.53
Tree Green
#2A7E19
ΔE00 7.35
Spruce
#0A5F38
ΔE00 7.83
Pine
#2B5D34
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18702F #701859
analogous
#2D7018 #18702F #18705B
triadic
#18702F #2F1870 #702F18
tetradic
#18702F #182D70 #701859 #705B18
square
#18702F #182D70 #701859 #705B18
split-complementary
#18702F #5B1870 #70182D
monochromatic
#05190B #0D3E1A #18702F #23A244 #30D35A
Accessibility & contrast
On white
6.18
#18702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#18702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18702F
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18702F | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #18702f; /* rgb */ color: rgb(24, 112, 47); /* oklch */ color: oklch(48.0% 0.128 147.6);
Tailwind
colors: {
custom: {
50: '#649a69',
500: '#18702f',
950: '#000000',
},
}SCSS
$custom: #18702f; $custom-light: #649a69; $custom-dark: #000000;
JSON
{
"hex": "#18702f",
"rgb": {
"r": 24,
"g": 112,
"b": 47
},
"hsl": {
"h": 135.682,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.47967,
"c": 0.12797,
"h": 147.6
},
"luminance": 0.11988
}Semantic roles & 50–950 ramp
primary
#18702F
secondary
#A53E8B
accent
#40BCE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A