#17942F#17942F

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

Color values

HEX#17942F
RGBrgb(23, 148, 47)
HSLhsl(132, 73%, 34%)
HSVhsv(132, 84%, 58%)
CMYKcmyk(84.5%, 0%, 68.2%, 42%)
CIE-LABlab(53.56, -52.86, 42.80)
CIE-LCHlch(53.56, 68.01, 141.01°)
OKLaboklab(58.23% -0.1424 0.0989)
OKLCHoklch(58.23% 0.173 145.2)
XYZxyz(11.4555, 21.5658, 6.2476)
Luminance0.2157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17942F #94177C
analogous
#3D9417 #17942F #17946D
triadic
#17942F #2F1794 #942F17
tetradic
#17942F #173D94 #94177C #946D17
square
#17942F #173D94 #94177C #946D17
split-complementary
#17942F #6D1794 #94173D
monochromatic
#072A0D #0F5F1E #17942F #1FC940 #44E262

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17942F#FFFFFF#000000##000000
##17942F1.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)
#968622
Deuteranopia (green-blind)
#897C38
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #17942f;
/* rgb */ color: rgb(23, 148, 47);
/* oklch */ color: oklch(58.2% 0.173 145.2);
Tailwind
colors: {
  custom: {
    50: '#6eb56c',
    500: '#17942f',
    950: '#000000',
  },
}
SCSS
$custom: #17942f;
$custom-light: #6eb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#17942f",
  "rgb": {
    "r": 23,
    "g": 148,
    "b": 47
  },
  "hsl": {
    "h": 131.52,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5823,
    "c": 0.17339,
    "h": 145.2
  },
  "luminance": 0.21567
}

Semantic roles & 50–950 ramp

primary
#17942F
secondary
#C344AA
accent
#38CCF0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #17942F

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

Preview Lab → · Contrast checker → · Palette generator →

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