#17891F#17891F

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

Color values

HEX#17891F
RGBrgb(23, 137, 31)
HSLhsl(124, 71%, 31%)
HSVhsv(124, 83%, 54%)
CMYKcmyk(83.2%, 0%, 77.4%, 46.3%)
CIE-LABlab(49.70, -50.79, 45.17)
CIE-LCHlch(49.70, 67.97, 138.35°)
OKLaboklab(54.98% -0.1375 0.1018)
OKLCHoklch(54.98% 0.171 143.5)
XYZxyz(9.5457, 18.1712, 4.3004)
Luminance0.1817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17891F #891781
analogous
#488917 #17891F #178958
triadic
#17891F #1F1789 #891F17
tetradic
#17891F #174889 #891781 #895817
square
#17891F #174889 #891781 #895817
split-complementary
#17891F #581789 #891748
monochromatic
#052007 #0E5513 #17891F #20BD2B #3CDE48

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17891F#FFFFFF#000000##000000
##17891F1.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)
#8C7B08
Deuteranopia (green-blind)
#80732B
Tritanopia (blue-blind)
#008575
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #17891f;
/* rgb */ color: rgb(23, 137, 31);
/* oklch */ color: oklch(55.0% 0.171 143.5);
Tailwind
colors: {
  custom: {
    50: '#6cad63',
    500: '#17891f',
    950: '#000000',
  },
}
SCSS
$custom: #17891f;
$custom-light: #6cad63;
$custom-dark: #000000;
JSON
{
  "hex": "#17891f",
  "rgb": {
    "r": 23,
    "g": 137,
    "b": 31
  },
  "hsl": {
    "h": 124.211,
    "s": 71.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5498,
    "c": 0.17109,
    "h": 143.5
  },
  "luminance": 0.18172
}

Semantic roles & 50–950 ramp

primary
#17891F
secondary
#BD3FB4
accent
#3AE1EE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #17891F

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

Preview Lab → · Contrast checker → · Palette generator →

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