#17842C#17842C

#17842C is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.7% C 0.156 H 145.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#17842C
RGBrgb(23, 132, 44)
HSLhsl(132, 70%, 30%)
HSVhsv(132, 83%, 52%)
CMYKcmyk(82.6%, 0%, 66.7%, 48.2%)
CIE-LABlab(48.09, -47.86, 38.12)
CIE-LCHlch(48.09, 61.19, 141.46°)
OKLaboklab(53.67% -0.129 0.0886)
OKLCHoklch(53.67% 0.156 145.5)
XYZxyz(9.0586, 16.8654, 5.1603)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17842C #84176F
analogous
#388417 #17842C #178463
triadic
#17842C #2C1784 #842C17
tetradic
#17842C #173884 #84176F #846317
square
#17842C #173884 #84176F #846317
split-complementary
#17842C #631784 #841738
monochromatic
#051C09 #0E501B #17842C #20B83D #39DC58

Accessibility & contrast

On white

4.80
#17842C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#17842C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17842C
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17842C#FFFFFF#000000##FFFFFF
##17842C1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867721
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #17842c;
/* rgb */ color: rgb(23, 132, 44);
/* oklch */ color: oklch(53.7% 0.156 145.5);
Tailwind
colors: {
  custom: {
    50: '#6aa969',
    500: '#17842c',
    950: '#000000',
  },
}
SCSS
$custom: #17842c;
$custom-light: #6aa969;
$custom-dark: #000000;
JSON
{
  "hex": "#17842c",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 44
  },
  "hsl": {
    "h": 131.56,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53672,
    "c": 0.15648,
    "h": 145.5
  },
  "luminance": 0.16867
}

Semantic roles & 50–950 ramp

primary
#17842C
secondary
#B83FA1
accent
#3BCBED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #17842C

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

Preview Lab → · Contrast checker → · Palette generator →

#17842C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva