#17891C#17891C

#17891C is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.0% C 0.173 H 143.2°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#17891C
RGBrgb(23, 137, 28)
HSLhsl(123, 71%, 31%)
HSVhsv(123, 83%, 54%)
CMYKcmyk(83.2%, 0%, 79.6%, 46.3%)
CIE-LABlab(49.69, -51.02, 46.20)
CIE-LCHlch(49.69, 68.83, 137.83°)
OKLaboklab(54.96% -0.1383 0.1035)
OKLCHoklch(54.96% 0.173 143.2)
XYZxyz(9.5080, 18.1562, 4.1018)
Luminance0.1816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17891C #891784
analogous
#4B8917 #17891C #178955
triadic
#17891C #1C1789 #891C17
tetradic
#17891C #174B89 #891784 #895517
square
#17891C #174B89 #891784 #895517
split-complementary
#17891C #551789 #89174B
monochromatic
#052007 #0E5511 #17891C #20BD27 #3CDE43

Accessibility & contrast

On white

4.53
#17891C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#17891C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17891C
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17891C#FFFFFF#000000##000000
##17891C1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#807329
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #17891c;
/* rgb */ color: rgb(23, 137, 28);
/* oklch */ color: oklch(55.0% 0.173 143.2);
Tailwind
colors: {
  custom: {
    50: '#6cad61',
    500: '#17891c',
    950: '#000000',
  },
}
SCSS
$custom: #17891c;
$custom-light: #6cad61;
$custom-dark: #000000;
JSON
{
  "hex": "#17891c",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 28
  },
  "hsl": {
    "h": 122.632,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.17273,
    "h": 143.2
  },
  "luminance": 0.18157
}

Semantic roles & 50–950 ramp

primary
#17891C
secondary
#BD3FB7
accent
#3AE6EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #17891C

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

Preview Lab → · Contrast checker → · Palette generator →

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