#18802E#18802E
#18802E is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.150 H 146.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #18802E |
|---|---|
| RGB | rgb(24, 128, 46) |
| HSL | hsl(133, 68%, 30%) |
| HSV | hsv(133, 81%, 50%) |
| CMYK | cmyk(81.3%, 0%, 64.1%, 49.8%) |
| CIE-LAB | lab(46.75, -46.10, 35.69) |
| CIE-LCH | lch(46.75, 58.30, 142.26°) |
| OKLab | oklab(52.57% -0.1241 0.0836) |
| OKLCH | oklch(52.57% 0.15 146) |
| XYZ | xyz(8.5884, 15.8288, 5.1869) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.47
Tree Green
#2A7E19
ΔE00 3.60
Jungle Green
#048243
ΔE00 4.14
Green
#008000
ΔE00 4.61
Forestgreen (CSS)
#228B22
ΔE00 4.93
Emerald Green
#028F1E
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18802E #80186A
analogous
#368018 #18802E #188062
triadic
#18802E #2E1880 #802E18
tetradic
#18802E #183680 #80186A #806218
square
#18802E #183680 #80186A #806218
split-complementary
#18802E #621880 #801836
monochromatic
#051A09 #0E4C1B #18802E #22B441 #39DA5B
Accessibility & contrast
On white
5.04
#18802E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#18802E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18802E
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18802E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18802E | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827425
Deuteranopia (green-blind)
#776C35
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #18802e; /* rgb */ color: rgb(24, 128, 46); /* oklch */ color: oklch(52.6% 0.150 146.0);
Tailwind
colors: {
custom: {
50: '#69a66a',
500: '#18802e',
950: '#000000',
},
}SCSS
$custom: #18802e; $custom-light: #69a66a; $custom-dark: #000000;
JSON
{
"hex": "#18802e",
"rgb": {
"r": 24,
"g": 128,
"b": 46
},
"hsl": {
"h": 132.692,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.52569,
"c": 0.1497,
"h": 146
},
"luminance": 0.1583
}Semantic roles & 50–950 ramp
primary
#18802E
secondary
#B4409C
accent
#3DC6EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A