#17842E#17842E

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

Color values

HEX#17842E
RGBrgb(23, 132, 46)
HSLhsl(133, 70%, 30%)
HSVhsv(133, 83%, 52%)
CMYKcmyk(82.6%, 0%, 65.2%, 48.2%)
CIE-LABlab(48.11, -47.62, 37.22)
CIE-LCHlch(48.11, 60.44, 141.99°)
OKLaboklab(53.69% -0.1282 0.0869)
OKLCHoklch(53.69% 0.155 145.9)
XYZxyz(9.0971, 16.8808, 5.3631)
Luminance0.1688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17842E #84176D
analogous
#368417 #17842E #178465
triadic
#17842E #2E1784 #842E17
tetradic
#17842E #173684 #84176D #846517
square
#17842E #173684 #84176D #846517
split-complementary
#17842E #651784 #841736
monochromatic
#051C0A #0E501C #17842E #20B840 #39DC5B

Accessibility & contrast

On white

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

On black

4.38
#17842E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##17842E#FFFFFF#000000##FFFFFF
##17842E1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17842e;
/* rgb */ color: rgb(23, 132, 46);
/* oklch */ color: oklch(53.7% 0.155 145.9);
Tailwind
colors: {
  custom: {
    50: '#6aa96a',
    500: '#17842e',
    950: '#000000',
  },
}
SCSS
$custom: #17842e;
$custom-light: #6aa96a;
$custom-dark: #000000;
JSON
{
  "hex": "#17842e",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 132.661,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53694,
    "c": 0.15492,
    "h": 145.9
  },
  "luminance": 0.16882
}

Semantic roles & 50–950 ramp

primary
#17842E
secondary
#B83F9F
accent
#3BC7ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #17842E

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

Preview Lab → · Contrast checker → · Palette generator →

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