#17862A#17862A

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

Color values

HEX#17862A
RGBrgb(23, 134, 42)
HSLhsl(130, 71%, 31%)
HSVhsv(130, 83%, 53%)
CMYKcmyk(82.8%, 0%, 68.7%, 47.5%)
CIE-LABlab(48.76, -48.76, 39.75)
CIE-LCHlch(48.76, 62.92, 140.81°)
OKLaboklab(54.22% -0.1315 0.0919)
OKLCHoklch(54.22% 0.16 145.1)
XYZxyz(9.2957, 17.3984, 5.0583)
Luminance0.1740 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17862A #861773
analogous
#3B8617 #17862A #178661
triadic
#17862A #2A1786 #862A17
tetradic
#17862A #173B86 #861773 #866117
square
#17862A #173B86 #861773 #866117
split-complementary
#17862A #611786 #86173B
monochromatic
#051E09 #0E521A #17862A #20BA3A #3ADD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17862A#FFFFFF#000000##FFFFFF
##17862A1.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)
#88791E
Deuteranopia (green-blind)
#7C7133
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #17862a;
/* rgb */ color: rgb(23, 134, 42);
/* oklch */ color: oklch(54.2% 0.160 145.1);
Tailwind
colors: {
  custom: {
    50: '#6aaa68',
    500: '#17862a',
    950: '#000000',
  },
}
SCSS
$custom: #17862a;
$custom-light: #6aaa68;
$custom-dark: #000000;
JSON
{
  "hex": "#17862a",
  "rgb": {
    "r": 23,
    "g": 134,
    "b": 42
  },
  "hsl": {
    "h": 130.27,
    "s": 70.701,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.16041,
    "h": 145.1
  },
  "luminance": 0.174
}

Semantic roles & 50–950 ramp

primary
#17862A
secondary
#BA3FA5
accent
#3ACFED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #17862A

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

Preview Lab → · Contrast checker → · Palette generator →

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