#18891F#18891F
#18891F is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.171 H 143.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #18891F |
|---|---|
| RGB | rgb(24, 137, 31) |
| HSL | hsl(124, 70%, 32%) |
| HSV | hsv(124, 82%, 54%) |
| CMYK | cmyk(82.5%, 0%, 77.4%, 46.3%) |
| CIE-LAB | lab(49.72, -50.66, 45.19) |
| CIE-LCH | lch(49.72, 67.89, 138.27°) |
| OKLab | oklab(55% -0.1372 0.1018) |
| OKLCH | oklch(55% 0.171 143.4) |
| XYZ | xyz(9.5690, 18.1833, 4.3015) |
| Luminance | 0.1818 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 0.94
Emerald Green
#028F1E
ΔE00 2.14
Green
#008000
ΔE00 3.75
Tree Green
#2A7E19
ΔE00 4.00
Irish Green
#019529
ΔE00 4.20
Kelley Green
#009337
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18891F #891882
analogous
#4A8918 #18891F #188958
triadic
#18891F #1F1889 #891F18
tetradic
#18891F #184A89 #891882 #895818
square
#18891F #184A89 #891882 #895818
split-complementary
#18891F #581889 #89184A
monochromatic
#062107 #0F5513 #18891F #21BD2B #3EDD48
Accessibility & contrast
On white
4.53
#18891F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.64
#18891F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #18891F
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18891F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##18891F | 1.00 | 4.53 | 4.64 | 4.64 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B08
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #18891f; /* rgb */ color: rgb(24, 137, 31); /* oklch */ color: oklch(55.0% 0.171 143.4);
Tailwind
colors: {
custom: {
50: '#6cad63',
500: '#18891f',
950: '#000000',
},
}SCSS
$custom: #18891f; $custom-light: #6cad63; $custom-dark: #000000;
JSON
{
"hex": "#18891f",
"rgb": {
"r": 24,
"g": 137,
"b": 31
},
"hsl": {
"h": 123.717,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.54996,
"c": 0.17086,
"h": 143.4
},
"luminance": 0.18184
}Semantic roles & 50–950 ramp
primary
#18891F
secondary
#BD40B5
accent
#3BE2ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A