#17861B#17861B

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

Color values

HEX#17861B
RGBrgb(23, 134, 27)
HSLhsl(122, 71%, 31%)
HSVhsv(122, 83%, 53%)
CMYKcmyk(82.8%, 0%, 79.9%, 47.5%)
CIE-LABlab(48.65, -50.12, 45.54)
CIE-LCHlch(48.65, 67.72, 137.74°)
OKLaboklab(54.1% -0.1359 0.102)
OKLCHoklch(54.1% 0.17 143.1)
XYZxyz(9.0757, 17.3104, 3.8996)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17861B #861782
analogous
#4A8617 #17861B #178652
triadic
#17861B #1B1786 #861B17
tetradic
#17861B #174A86 #861782 #865217
square
#17861B #174A86 #861782 #865217
split-complementary
#17861B #521786 #86174A
monochromatic
#051E06 #0E5210 #17861B #20BA26 #3ADD40

Accessibility & contrast

On white

4.71
#17861B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#17861B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17861B
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17861B#FFFFFF#000000##FFFFFF
##17861B1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#7D7028
Tritanopia (blue-blind)
#008272
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #17861b;
/* rgb */ color: rgb(23, 134, 27);
/* oklch */ color: oklch(54.1% 0.170 143.1);
Tailwind
colors: {
  custom: {
    50: '#6baa60',
    500: '#17861b',
    950: '#000000',
  },
}
SCSS
$custom: #17861b;
$custom-light: #6baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#17861b",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 27
  },
  "hsl": {
    "h": 122.162,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54095,
    "c": 0.16989,
    "h": 143.1
  },
  "luminance": 0.17311
}

Semantic roles & 50–950 ramp

primary
#17861B
secondary
#BA3FB6
accent
#3AE7ED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #17861B

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

Preview Lab → · Contrast checker → · Palette generator →

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