#18902F#18902F
#18902F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.168 H 145.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #18902F |
|---|---|
| RGB | rgb(24, 144, 47) |
| HSL | hsl(132, 71%, 33%) |
| HSV | hsv(132, 83%, 56%) |
| CMYK | cmyk(83.3%, 0%, 67.4%, 43.5%) |
| CIE-LAB | lab(52.22, -51.43, 41.34) |
| CIE-LCH | lch(52.22, 65.99, 141.21°) |
| OKLab | oklab(57.12% -0.1386 0.0958) |
| OKLCH | oklch(57.12% 0.168 145.4) |
| XYZ | xyz(10.8622, 20.3446, 6.0432) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Kelley Green
#009337
ΔE00 1.64
Emerald Green
#028F1E
ΔE00 1.96
Irish Green
#019529
ΔE00 1.98
Forestgreen (CSS)
#228B22
ΔE00 2.35
True Green
#089404
ΔE00 4.14
Emerald (survey)
#01A049
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18902F #901879
analogous
#3D9018 #18902F #18906B
triadic
#18902F #2F1890 #902F18
tetradic
#18902F #183D90 #901879 #906B18
square
#18902F #183D90 #901879 #906B18
split-complementary
#18902F #6B1890 #90183D
monochromatic
#07270D #0F5C1E #18902F #21C440 #43E061
Accessibility & contrast
On white
4.14
#18902F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#18902F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #18902F
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18902F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##18902F | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928223
Deuteranopia (green-blind)
#867938
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #18902f; /* rgb */ color: rgb(24, 144, 47); /* oklch */ color: oklch(57.1% 0.168 145.4);
Tailwind
colors: {
custom: {
50: '#6db26c',
500: '#18902f',
950: '#000000',
},
}SCSS
$custom: #18902f; $custom-light: #6db26c; $custom-dark: #000000;
JSON
{
"hex": "#18902f",
"rgb": {
"r": 24,
"g": 144,
"b": 47
},
"hsl": {
"h": 131.5,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.57121,
"c": 0.16846,
"h": 145.4
},
"luminance": 0.20346
}Semantic roles & 50–950 ramp
primary
#18902F
secondary
#C043A8
accent
#3ACCEE
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#081107
muted
#7B807A