#18722F#18722F
#18722F is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.5% C 0.131 H 147.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #18722F |
|---|---|
| RGB | rgb(24, 114, 47) |
| HSL | hsl(135, 65%, 27%) |
| HSV | hsv(135, 79%, 45%) |
| CMYK | cmyk(78.9%, 0%, 58.8%, 55.3%) |
| CIE-LAB | lab(41.90, -40.91, 29.54) |
| CIE-LCH | lch(41.90, 50.46, 144.16°) |
| OKLab | oklab(48.55% -0.1101 0.0704) |
| OKLCH | oklch(48.55% 0.131 147.4) |
| XYZ | xyz(6.9066, 12.4332, 4.7246) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.68
Jungle Green
#048243
ΔE00 5.96
Tree Green
#2A7E19
ΔE00 6.73
Darkgreen
#006400
ΔE00 6.76
Green
#008000
ΔE00 7.95
Deep Green
#02590F
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18722F #72185B
analogous
#2E7218 #18722F #18725C
triadic
#18722F #2F1872 #722F18
tetradic
#18722F #182E72 #72185B #725C18
square
#18722F #182E72 #72185B #725C18
split-complementary
#18722F #5C1872 #72182E
monochromatic
#05190A #0D3F1A #18722F #23A544 #31D45A
Accessibility & contrast
On white
6.02
#18722F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#18722F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18722F
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18722F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18722F | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736729
Deuteranopia (green-blind)
#696034
Tritanopia (blue-blind)
#006F63
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #18722f; /* rgb */ color: rgb(24, 114, 47); /* oklch */ color: oklch(48.5% 0.131 147.4);
Tailwind
colors: {
custom: {
50: '#659b69',
500: '#18722f',
950: '#000000',
},
}SCSS
$custom: #18722f; $custom-light: #659b69; $custom-dark: #000000;
JSON
{
"hex": "#18722f",
"rgb": {
"r": 24,
"g": 114,
"b": 47
},
"hsl": {
"h": 135.333,
"s": 65.217,
"l": 27.059
},
"oklch": {
"l": 0.48548,
"c": 0.13067,
"h": 147.4
},
"luminance": 0.12434
}Semantic roles & 50–950 ramp
primary
#18722F
secondary
#A73E8D
accent
#40BDE8
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A