#17861F#17861F

#17861F is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.1% C 0.168 H 143.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#17861F
RGBrgb(23, 134, 31)
HSLhsl(124, 71%, 31%)
HSVhsv(124, 83%, 53%)
CMYKcmyk(82.8%, 0%, 76.9%, 47.5%)
CIE-LABlab(48.67, -49.82, 44.14)
CIE-LCHlch(48.67, 66.56, 138.45°)
OKLaboklab(54.12% -0.1349 0.0997)
OKLCHoklch(54.12% 0.168 143.5)
XYZxyz(9.1252, 17.3302, 4.1602)
Luminance0.1733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17861F #86177E
analogous
#468617 #17861F #178656
triadic
#17861F #1F1786 #861F17
tetradic
#17861F #174686 #86177E #865617
square
#17861F #174686 #86177E #865617
split-complementary
#17861F #561786 #861746
monochromatic
#051E07 #0E5213 #17861F #20BA2B #3ADD46

Accessibility & contrast

On white

4.70
#17861F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#17861F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17861F
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17861F#FFFFFF#000000##FFFFFF
##17861F1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#89790A
Deuteranopia (green-blind)
#7D702A
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #17861f;
/* rgb */ color: rgb(23, 134, 31);
/* oklch */ color: oklch(54.1% 0.168 143.5);
Tailwind
colors: {
  custom: {
    50: '#6baa62',
    500: '#17861f',
    950: '#000000',
  },
}
SCSS
$custom: #17861f;
$custom-light: #6baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#17861f",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 31
  },
  "hsl": {
    "h": 124.324,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54123,
    "c": 0.16768,
    "h": 143.5
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#17861F
secondary
#BA3FB1
accent
#3AE1ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #17861F

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

Preview Lab → · Contrast checker → · Palette generator →

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