#17862D#17862D

#17862D is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.158 H 145.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#17862D
RGBrgb(23, 134, 45)
HSLhsl(132, 71%, 31%)
HSVhsv(132, 83%, 53%)
CMYKcmyk(82.8%, 0%, 66.4%, 47.5%)
CIE-LABlab(48.79, -48.42, 38.44)
CIE-LCHlch(48.79, 61.83, 141.56°)
OKLaboklab(54.25% -0.1305 0.0894)
OKLCHoklch(54.25% 0.158 145.6)
XYZxyz(9.3514, 17.4207, 5.3518)
Luminance0.1742 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17862D #861770
analogous
#388617 #17862D #178664
triadic
#17862D #2D1786 #862D17
tetradic
#17862D #173886 #861770 #866417
square
#17862D #173886 #861770 #866417
split-complementary
#17862D #641786 #861738
monochromatic
#051E0A #0E521B #17862D #20BA3F #3ADD5A

Accessibility & contrast

On white

4.68
#17862D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#17862D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17862D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17862D#FFFFFF#000000##FFFFFF
##17862D1.004.684.484.68
#FFFFFF4.681.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887922
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#008373
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #17862d;
/* rgb */ color: rgb(23, 134, 45);
/* oklch */ color: oklch(54.3% 0.158 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aaa6a',
    500: '#17862d',
    950: '#000000',
  },
}
SCSS
$custom: #17862d;
$custom-light: #6aaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#17862d",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 45
  },
  "hsl": {
    "h": 131.892,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54253,
    "c": 0.15816,
    "h": 145.6
  },
  "luminance": 0.17422
}

Semantic roles & 50–950 ramp

primary
#17862D
secondary
#BA3FA2
accent
#3ACAED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #17862D

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

Preview Lab → · Contrast checker → · Palette generator →

#17862D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva