#17942D#17942D

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

Color values

HEX#17942D
RGBrgb(23, 148, 45)
HSLhsl(131, 73%, 34%)
HSVhsv(131, 84%, 58%)
CMYKcmyk(84.5%, 0%, 69.6%, 42%)
CIE-LABlab(53.55, -53.07, 43.63)
CIE-LCHlch(53.55, 68.70, 140.58°)
OKLaboklab(58.21% -0.1431 0.1004)
OKLCHoklch(58.21% 0.175 145)
XYZxyz(11.4161, 21.5500, 6.0400)
Luminance0.2155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17942D #94177E
analogous
#3F9417 #17942D #17946B
triadic
#17942D #2D1794 #942D17
tetradic
#17942D #173F94 #94177E #946B17
square
#17942D #173F94 #94177E #946B17
split-complementary
#17942D #6B1794 #94173F
monochromatic
#072A0D #0F5F1D #17942D #1FC93D #44E25F

Accessibility & contrast

On white

3.95
#17942D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##17942D#FFFFFF#000000##000000
##17942D1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#97851E
Deuteranopia (green-blind)
#897C37
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #17942d;
/* rgb */ color: rgb(23, 148, 45);
/* oklch */ color: oklch(58.2% 0.175 145.0);
Tailwind
colors: {
  custom: {
    50: '#6eb56b',
    500: '#17942d',
    950: '#000000',
  },
}
SCSS
$custom: #17942d;
$custom-light: #6eb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#17942d",
  "rgb": {
    "r": 23,
    "g": 148,
    "b": 45
  },
  "hsl": {
    "h": 130.56,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5821,
    "c": 0.1748,
    "h": 145
  },
  "luminance": 0.21551
}

Semantic roles & 50–950 ramp

primary
#17942D
secondary
#C344AC
accent
#38CFF0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #17942D

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

Preview Lab → · Contrast checker → · Palette generator →

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