#17842F#17842F

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

Color values

HEX#17842F
RGBrgb(23, 132, 47)
HSLhsl(133, 70%, 30%)
HSVhsv(133, 83%, 52%)
CMYKcmyk(82.6%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.12, -47.50, 36.76)
CIE-LCHlch(48.12, 60.06, 142.26°)
OKLaboklab(53.71% -0.1279 0.086)
OKLCHoklch(53.71% 0.154 146.1)
XYZxyz(9.1170, 16.8888, 5.4681)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17842F #84176C
analogous
#358417 #17842F #178465
triadic
#17842F #2F1784 #842F17
tetradic
#17842F #173584 #84176C #846517
square
#17842F #173584 #84176C #846517
split-complementary
#17842F #651784 #841735
monochromatic
#051C0A #0E501C #17842F #20B842 #39DC5D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17842F#FFFFFF#000000##FFFFFF
##17842F1.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)
#867725
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#008172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #17842f;
/* rgb */ color: rgb(23, 132, 47);
/* oklch */ color: oklch(53.7% 0.154 146.1);
Tailwind
colors: {
  custom: {
    50: '#6aa96b',
    500: '#17842f',
    950: '#000000',
  },
}
SCSS
$custom: #17842f;
$custom-light: #6aa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#17842f",
  "rgb": {
    "r": 23,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 133.211,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.53706,
    "c": 0.15412,
    "h": 146.1
  },
  "luminance": 0.1689
}

Semantic roles & 50–950 ramp

primary
#17842F
secondary
#B83F9D
accent
#3BC6ED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #17842F

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

Preview Lab → · Contrast checker → · Palette generator →

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