#17862B#17862B

#17862B is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.2% C 0.160 H 145.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#17862B
RGBrgb(23, 134, 43)
HSLhsl(131, 71%, 31%)
HSVhsv(131, 83%, 53%)
CMYKcmyk(82.8%, 0%, 67.9%, 47.5%)
CIE-LABlab(48.77, -48.65, 39.32)
CIE-LCHlch(48.77, 62.56, 141.06°)
OKLaboklab(54.23% -0.1312 0.0911)
OKLCHoklch(54.23% 0.16 145.2)
XYZxyz(9.3138, 17.4056, 5.1538)
Luminance0.1741 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17862B #861772
analogous
#3A8617 #17862B #178662
triadic
#17862B #2B1786 #862B17
tetradic
#17862B #173A86 #861772 #866217
square
#17862B #173A86 #861772 #866217
split-complementary
#17862B #621786 #86173A
monochromatic
#051E09 #0E521A #17862B #20BA3C #3ADD58

Accessibility & contrast

On white

4.69
#17862B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #17862B
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17862B#FFFFFF#000000##FFFFFF
##17862B1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88791F
Deuteranopia (green-blind)
#7C7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #17862b;
/* rgb */ color: rgb(23, 134, 43);
/* oklch */ color: oklch(54.2% 0.160 145.2);
Tailwind
colors: {
  custom: {
    50: '#6aaa69',
    500: '#17862b',
    950: '#000000',
  },
}
SCSS
$custom: #17862b;
$custom-light: #6aaa69;
$custom-dark: #000000;
JSON
{
  "hex": "#17862b",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 43
  },
  "hsl": {
    "h": 130.811,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54231,
    "c": 0.15967,
    "h": 145.2
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#17862B
secondary
#BA3FA4
accent
#3ACDED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #17862B

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

Preview Lab → · Contrast checker → · Palette generator →

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