#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
RGBrgb(23, 137, 27)
HSLhsl(122, 71%, 31%)
HSVhsv(122, 83%, 54%)
CMYKcmyk(83.2%, 0%, 80.3%, 46.3%)
CIE-LABlab(49.68, -51.09, 46.53)
CIE-LCHlch(49.68, 69.11, 137.67°)
OKLaboklab(54.95% -0.1385 0.1041)
OKLCHoklch(54.95% 0.173 143.1)
XYZxyz(9.4962, 18.1515, 4.0398)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##17891B1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.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

Preview Lab

Preview with #17891B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#17891B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva