#17842D#17842D

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

Color values

HEX#17842D
RGBrgb(23, 132, 45)
HSLhsl(132, 70%, 30%)
HSVhsv(132, 83%, 52%)
CMYKcmyk(82.6%, 0%, 65.9%, 48.2%)
CIE-LABlab(48.10, -47.74, 37.67)
CIE-LCHlch(48.10, 60.82, 141.72°)
OKLaboklab(53.68% -0.1286 0.0878)
OKLCHoklch(53.68% 0.156 145.7)
XYZxyz(9.0776, 16.8730, 5.2605)
Luminance0.1687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17842D #84176E
analogous
#378417 #17842D #178463
triadic
#17842D #2D1784 #842D17
tetradic
#17842D #173784 #84176E #846317
square
#17842D #173784 #84176E #846317
split-complementary
#17842D #631784 #841737
monochromatic
#051C09 #0E501B #17842D #20B83F #39DC5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17842D#FFFFFF#000000##FFFFFF
##17842D1.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)
#867723
Deuteranopia (green-blind)
#7A6F35
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #17842d;
/* rgb */ color: rgb(23, 132, 45);
/* oklch */ color: oklch(53.7% 0.156 145.7);
Tailwind
colors: {
  custom: {
    50: '#6aa96a',
    500: '#17842d',
    950: '#000000',
  },
}
SCSS
$custom: #17842d;
$custom-light: #6aa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#17842d",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 45
  },
  "hsl": {
    "h": 132.11,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53683,
    "c": 0.1557,
    "h": 145.7
  },
  "luminance": 0.16874
}

Semantic roles & 50–950 ramp

primary
#17842D
secondary
#B83FA0
accent
#3BC9ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #17842D

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

Preview Lab → · Contrast checker → · Palette generator →

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