#18801F#18801F
#18801F is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.4% C 0.161 H 143.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #18801F |
|---|---|
| RGB | rgb(24, 128, 31) |
| HSL | hsl(124, 68%, 30%) |
| HSV | hsv(124, 81%, 50%) |
| CMYK | cmyk(81.3%, 0%, 75.8%, 49.8%) |
| CIE-LAB | lab(46.62, -47.70, 42.08) |
| CIE-LCH | lch(46.62, 63.61, 138.58°) |
| OKLab | oklab(52.42% -0.1291 0.0953) |
| OKLCH | oklch(52.42% 0.161 143.6) |
| XYZ | xyz(8.3426, 15.7305, 3.8927) |
| Luminance | 0.1573 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.78
Green
#008000
ΔE00 2.43
Forestgreen (CSS)
#228B22
ΔE00 4.06
Darkish Green
#287C37
ΔE00 4.32
Dark Grass Green
#388004
ΔE00 4.41
Emerald Green
#028F1E
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18801F #801879
analogous
#458018 #18801F #188053
triadic
#18801F #1F1880 #801F18
tetradic
#18801F #184580 #801879 #805318
square
#18801F #184580 #801879 #805318
split-complementary
#18801F #531880 #801845
monochromatic
#051A06 #0E4C13 #18801F #22B42B #39DA43
Accessibility & contrast
On white
5.06
#18801F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#18801F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #18801F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18801F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18801F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83730D
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #18801f; /* rgb */ color: rgb(24, 128, 31); /* oklch */ color: oklch(52.4% 0.161 143.6);
Tailwind
colors: {
custom: {
50: '#6aa661',
500: '#18801f',
950: '#000000',
},
}SCSS
$custom: #18801f; $custom-light: #6aa661; $custom-dark: #000000;
JSON
{
"hex": "#18801f",
"rgb": {
"r": 24,
"g": 128,
"b": 31
},
"hsl": {
"h": 124.038,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.52419,
"c": 0.16053,
"h": 143.6
},
"luminance": 0.15731
}Semantic roles & 50–950 ramp
primary
#18801F
secondary
#B440AC
accent
#3DE0EB
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A