#18801E#18801E
#18801E is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.161 H 143.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #18801E |
|---|---|
| RGB | rgb(24, 128, 30) |
| HSL | hsl(123, 68%, 30%) |
| HSV | hsv(123, 81%, 50%) |
| CMYK | cmyk(81.3%, 0%, 76.6%, 49.8%) |
| CIE-LAB | lab(46.61, -47.79, 42.45) |
| CIE-LCH | lch(46.61, 63.92, 138.38°) |
| OKLab | oklab(52.41% -0.1294 0.096) |
| OKLCH | oklch(52.41% 0.161 143.4) |
| XYZ | xyz(8.3297, 15.7253, 3.8243) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.71
Green
#008000
ΔE00 2.31
Forestgreen (CSS)
#228B22
ΔE00 4.04
Dark Grass Green
#388004
ΔE00 4.31
Darkish Green
#287C37
ΔE00 4.43
Emerald Green
#028F1E
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18801E #80187A
analogous
#468018 #18801E #188052
triadic
#18801E #1E1880 #801E18
tetradic
#18801E #184680 #80187A #805218
square
#18801E #184680 #80187A #805218
split-complementary
#18801E #521880 #801846
monochromatic
#051A06 #0E4C12 #18801E #22B42A #39DA42
Accessibility & contrast
On white
5.07
#18801E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#18801E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18801E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18801E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18801E | 1.00 | 5.07 | 4.15 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730B
Deuteranopia (green-blind)
#786B29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #18801e; /* rgb */ color: rgb(24, 128, 30); /* oklch */ color: oklch(52.4% 0.161 143.4);
Tailwind
colors: {
custom: {
50: '#6aa661',
500: '#18801e',
950: '#000000',
},
}SCSS
$custom: #18801e; $custom-light: #6aa661; $custom-dark: #000000;
JSON
{
"hex": "#18801e",
"rgb": {
"r": 24,
"g": 128,
"b": 30
},
"hsl": {
"h": 123.462,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.52411,
"c": 0.16113,
"h": 143.4
},
"luminance": 0.15726
}Semantic roles & 50–950 ramp
primary
#18801E
secondary
#B440AE
accent
#3DE1EB
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79