#18902C#18902C
#18902C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.171 H 144.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #18902C |
|---|---|
| RGB | rgb(24, 144, 44) |
| HSL | hsl(130, 71%, 33%) |
| HSV | hsv(130, 83%, 56%) |
| CMYK | cmyk(83.3%, 0%, 69.4%, 43.5%) |
| CIE-LAB | lab(52.20, -51.75, 42.61) |
| CIE-LCH | lch(52.20, 67.04, 140.53°) |
| OKLab | oklab(57.09% -0.1396 0.0981) |
| OKLCH | oklch(57.09% 0.171 144.9) |
| XYZ | xyz(10.8038, 20.3212, 5.7354) |
| Luminance | 0.2032 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Emerald Green
#028F1E
ΔE00 1.57
Irish Green
#019529
ΔE00 1.82
Kelley Green
#009337
ΔE00 1.97
Forestgreen (CSS)
#228B22
ΔE00 2.10
True Green
#089404
ΔE00 3.74
Emerald (survey)
#01A049
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18902C #90187C
analogous
#409018 #18902C #189068
triadic
#18902C #2C1890 #902C18
tetradic
#18902C #184090 #90187C #906818
square
#18902C #184090 #90187C #906818
split-complementary
#18902C #681890 #901840
monochromatic
#07270C #0F5C1C #18902C #21C43C #43E05D
Accessibility & contrast
On white
4.15
#18902C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#18902C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #18902C
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18902C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##18902C | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#93821E
Deuteranopia (green-blind)
#867936
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #18902c; /* rgb */ color: rgb(24, 144, 44); /* oklch */ color: oklch(57.1% 0.171 144.9);
Tailwind
colors: {
custom: {
50: '#6db26a',
500: '#18902c',
950: '#000000',
},
}SCSS
$custom: #18902c; $custom-light: #6db26a; $custom-dark: #000000;
JSON
{
"hex": "#18902c",
"rgb": {
"r": 24,
"g": 144,
"b": 44
},
"hsl": {
"h": 130,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.57091,
"c": 0.17063,
"h": 144.9
},
"luminance": 0.20323
}Semantic roles & 50–950 ramp
primary
#18902C
secondary
#C043AC
accent
#3AD0EE
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A