#17842B#17842B

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

Color values

HEX#17842B
RGBrgb(23, 132, 43)
HSLhsl(131, 70%, 30%)
HSVhsv(131, 83%, 52%)
CMYKcmyk(82.6%, 0%, 67.4%, 48.2%)
CIE-LABlab(48.08, -47.98, 38.57)
CIE-LCHlch(48.08, 61.56, 141.20°)
OKLaboklab(53.66% -0.1293 0.0895)
OKLCHoklch(53.66% 0.157 145.3)
XYZxyz(9.0400, 16.8580, 5.0625)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17842B #841770
analogous
#398417 #17842B #178461
triadic
#17842B #2B1784 #842B17
tetradic
#17842B #173984 #841770 #846117
square
#17842B #173984 #841770 #846117
split-complementary
#17842B #611784 #841739
monochromatic
#051C09 #0E501A #17842B #20B83C #39DC57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17842B#FFFFFF#000000##FFFFFF
##17842B1.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)
#867720
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#008072
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #17842b;
/* rgb */ color: rgb(23, 132, 43);
/* oklch */ color: oklch(53.7% 0.157 145.3);
Tailwind
colors: {
  custom: {
    50: '#6aa968',
    500: '#17842b',
    950: '#000000',
  },
}
SCSS
$custom: #17842b;
$custom-light: #6aa968;
$custom-dark: #000000;
JSON
{
  "hex": "#17842b",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 43
  },
  "hsl": {
    "h": 131.009,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53661,
    "c": 0.15725,
    "h": 145.3
  },
  "luminance": 0.16859
}

Semantic roles & 50–950 ramp

primary
#17842B
secondary
#B83FA2
accent
#3BCCED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081006
muted
#7A7F7A

Preview Lab

Preview with #17842B

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

Preview Lab → · Contrast checker → · Palette generator →

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