#17942E#17942E

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

Color values

HEX#17942E
RGBrgb(23, 148, 46)
HSLhsl(131, 73%, 34%)
HSVhsv(131, 84%, 58%)
CMYKcmyk(84.5%, 0%, 68.9%, 42%)
CIE-LABlab(53.55, -52.97, 43.22)
CIE-LCHlch(53.55, 68.36, 140.79°)
OKLaboklab(58.22% -0.1428 0.0996)
OKLCHoklch(58.22% 0.174 145.1)
XYZxyz(11.4356, 21.5578, 6.1426)
Luminance0.2156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17942E #94177D
analogous
#3E9417 #17942E #17946C
triadic
#17942E #2E1794 #942E17
tetradic
#17942E #173E94 #94177D #946C17
square
#17942E #173E94 #94177D #946C17
split-complementary
#17942E #6C1794 #94173E
monochromatic
#072A0D #0F5F1E #17942E #1FC93E #44E261

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #17942e;
/* rgb */ color: rgb(23, 148, 46);
/* oklch */ color: oklch(58.2% 0.174 145.1);
Tailwind
colors: {
  custom: {
    50: '#6eb56c',
    500: '#17942e',
    950: '#000000',
  },
}
SCSS
$custom: #17942e;
$custom-light: #6eb56c;
$custom-dark: #000000;
JSON
{
  "hex": "#17942e",
  "rgb": {
    "r": 23,
    "g": 148,
    "b": 46
  },
  "hsl": {
    "h": 131.04,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5822,
    "c": 0.1741,
    "h": 145.1
  },
  "luminance": 0.21559
}

Semantic roles & 50–950 ramp

primary
#17942E
secondary
#C344AB
accent
#38CEF0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #17942E

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

Preview Lab → · Contrast checker → · Palette generator →

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