#18802C#18802C
#18802C is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.151 H 145.6°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #18802C |
|---|---|
| RGB | rgb(24, 128, 44) |
| HSL | hsl(132, 68%, 30%) |
| HSV | hsv(132, 81%, 50%) |
| CMYK | cmyk(81.3%, 0%, 65.6%, 49.8%) |
| CIE-LAB | lab(46.73, -46.35, 36.61) |
| CIE-LCH | lch(46.73, 59.06, 141.70°) |
| OKLab | oklab(52.54% -0.1249 0.0854) |
| OKLCH | oklch(52.54% 0.151 145.6) |
| XYZ | xyz(8.5499, 15.8134, 4.9841) |
| Luminance | 0.1581 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.71
Tree Green
#2A7E19
ΔE00 3.30
Green
#008000
ΔE00 4.28
Jungle Green
#048243
ΔE00 4.46
Forestgreen (CSS)
#228B22
ΔE00 4.75
Emerald Green
#028F1E
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18802C #80186C
analogous
#388018 #18802C #188060
triadic
#18802C #2C1880 #802C18
tetradic
#18802C #183880 #80186C #806018
square
#18802C #183880 #80186C #806018
split-complementary
#18802C #601880 #801838
monochromatic
#051A09 #0E4C1A #18802C #22B43E #39DA58
Accessibility & contrast
On white
5.04
#18802C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#18802C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18802C
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18802C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18802C | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#776C33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #18802c; /* rgb */ color: rgb(24, 128, 44); /* oklch */ color: oklch(52.5% 0.151 145.6);
Tailwind
colors: {
custom: {
50: '#69a669',
500: '#18802c',
950: '#000000',
},
}SCSS
$custom: #18802c; $custom-light: #69a669; $custom-dark: #000000;
JSON
{
"hex": "#18802c",
"rgb": {
"r": 24,
"g": 128,
"b": 44
},
"hsl": {
"h": 131.538,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.52545,
"c": 0.15131,
"h": 145.6
},
"luminance": 0.15814
}Semantic roles & 50–950 ramp
primary
#18802C
secondary
#B4409E
accent
#3DCAEB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A