#18891B#18891B
#18891B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.173 H 143.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #18891B |
|---|---|
| RGB | rgb(24, 137, 27) |
| HSL | hsl(122, 70%, 32%) |
| HSV | hsv(122, 82%, 54%) |
| CMYK | cmyk(82.5%, 0%, 80.3%, 46.3%) |
| CIE-LAB | lab(49.69, -50.96, 46.55) |
| CIE-LCH | lch(49.69, 69.02, 137.59°) |
| OKLab | oklab(54.97% -0.1382 0.1041) |
| OKLCH | oklch(54.97% 0.173 143) |
| XYZ | xyz(9.5196, 18.1635, 4.0409) |
| Luminance | 0.1817 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.04
Emerald Green
#028F1E
ΔE00 2.13
Green
#008000
ΔE00 3.58
Tree Green
#2A7E19
ΔE00 3.97
True Green
#089404
ΔE00 4.26
Irish Green
#019529
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18891B #891886
analogous
#4E8918 #18891B #188954
triadic
#18891B #1B1889 #891B18
tetradic
#18891B #184E89 #891886 #895418
square
#18891B #184E89 #891886 #895418
split-complementary
#18891B #541889 #89184E
monochromatic
#062106 #0F5511 #18891B #21BD25 #3EDD42
Accessibility & contrast
On white
4.53
#18891B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#18891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #18891B
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##18891B | 1.00 | 4.53 | 4.63 | 4.63 |
| #FFFFFF | 4.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807328
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #18891b; /* rgb */ color: rgb(24, 137, 27); /* oklch */ color: oklch(55.0% 0.173 143.0);
Tailwind
colors: {
custom: {
50: '#6cad61',
500: '#18891b',
950: '#000000',
},
}SCSS
$custom: #18891b; $custom-light: #6cad61; $custom-dark: #000000;
JSON
{
"hex": "#18891b",
"rgb": {
"r": 24,
"g": 137,
"b": 27
},
"hsl": {
"h": 121.593,
"s": 70.186,
"l": 31.569
},
"oklch": {
"l": 0.54969,
"c": 0.17302,
"h": 143
},
"luminance": 0.18165
}Semantic roles & 50–950 ramp
primary
#18891B
secondary
#BD40B9
accent
#3BE8ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A