#17891B#17891B
#17891B is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.173 H 143.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #17891B |
|---|---|
| RGB | rgb(23, 137, 27) |
| HSL | hsl(122, 71%, 31%) |
| HSV | hsv(122, 83%, 54%) |
| CMYK | cmyk(83.2%, 0%, 80.3%, 46.3%) |
| CIE-LAB | lab(49.68, -51.09, 46.53) |
| CIE-LCH | lch(49.68, 69.11, 137.67°) |
| OKLab | oklab(54.95% -0.1385 0.1041) |
| OKLCH | oklch(54.95% 0.173 143.1) |
| XYZ | xyz(9.4962, 18.1515, 4.0398) |
| Luminance | 0.1815 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.06
Emerald Green
#028F1E
ΔE00 2.13
Green
#008000
ΔE00 3.57
Tree Green
#2A7E19
ΔE00 3.98
True Green
#089404
ΔE00 4.27
Irish Green
#019529
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#17891B #891785
analogous
#4C8917 #17891B #178954
triadic
#17891B #1B1789 #891B17
tetradic
#17891B #174C89 #891785 #895417
square
#17891B #174C89 #891785 #895417
split-complementary
#17891B #541789 #89174C
monochromatic
#052006 #0E5511 #17891B #20BD25 #3CDE42
Accessibility & contrast
On white
4.54
#17891B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.63
#17891B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #17891B
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##17891B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##17891B | 1.00 | 4.54 | 4.63 | 4.63 |
| #FFFFFF | 4.54 | 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: #17891b; /* rgb */ color: rgb(23, 137, 27); /* oklch */ color: oklch(55.0% 0.173 143.1);
Tailwind
colors: {
custom: {
50: '#6cad61',
500: '#17891b',
950: '#000000',
},
}SCSS
$custom: #17891b; $custom-light: #6cad61; $custom-dark: #000000;
JSON
{
"hex": "#17891b",
"rgb": {
"r": 23,
"g": 137,
"b": 27
},
"hsl": {
"h": 122.105,
"s": 71.25,
"l": 31.373
},
"oklch": {
"l": 0.54953,
"c": 0.17324,
"h": 143.1
},
"luminance": 0.18153
}Semantic roles & 50–950 ramp
primary
#17891B
secondary
#BD3FB8
accent
#3AE8EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A