#17942A#17942A

#17942A is a mid, vivid green. Relative luminance 0.215; OKLCH L 58.2% C 0.177 H 144.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#17942A
RGBrgb(23, 148, 42)
HSLhsl(129, 73%, 34%)
HSVhsv(129, 84%, 58%)
CMYKcmyk(84.5%, 0%, 71.6%, 42%)
CIE-LABlab(53.52, -53.37, 44.85)
CIE-LCHlch(53.52, 69.71, 139.96°)
OKLaboklab(58.18% -0.144 0.1026)
OKLCHoklch(58.18% 0.177 144.5)
XYZxyz(11.3604, 21.5277, 5.7466)
Luminance0.2153 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17942A #941781
analogous
#429417 #17942A #179468
triadic
#17942A #2A1794 #942A17
tetradic
#17942A #174294 #941781 #946817
square
#17942A #174294 #941781 #946817
split-complementary
#17942A #681794 #941742
monochromatic
#072A0C #0F5F1B #17942A #1FC939 #44E25C

Accessibility & contrast

On white

3.96
#17942A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#17942A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17942A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17942A#FFFFFF#000000##000000
##17942A1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851A
Deuteranopia (green-blind)
#8A7C35
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #17942a;
/* rgb */ color: rgb(23, 148, 42);
/* oklch */ color: oklch(58.2% 0.177 144.5);
Tailwind
colors: {
  custom: {
    50: '#6eb56a',
    500: '#17942a',
    950: '#000000',
  },
}
SCSS
$custom: #17942a;
$custom-light: #6eb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#17942a",
  "rgb": {
    "r": 23,
    "g": 148,
    "b": 42
  },
  "hsl": {
    "h": 129.12,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58183,
    "c": 0.17683,
    "h": 144.5
  },
  "luminance": 0.21529
}

Semantic roles & 50–950 ramp

primary
#17942A
secondary
#C344AF
accent
#38D4F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #17942A

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

Preview Lab → · Contrast checker → · Palette generator →

#17942A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva