#17942C#17942C

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

Color values

HEX#17942C
RGBrgb(23, 148, 44)
HSLhsl(130, 73%, 34%)
HSVhsv(130, 84%, 58%)
CMYKcmyk(84.5%, 0%, 70.3%, 42%)
CIE-LABlab(53.54, -53.17, 44.04)
CIE-LCHlch(53.54, 69.04, 140.37°)
OKLaboklab(58.2% -0.1434 0.1011)
OKLCHoklch(58.2% 0.175 144.8)
XYZxyz(11.3971, 21.5424, 5.9398)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17942C #94177F
analogous
#409417 #17942C #17946A
triadic
#17942C #2C1794 #942C17
tetradic
#17942C #174094 #94177F #946A17
square
#17942C #174094 #94177F #946A17
split-complementary
#17942C #6A1794 #941740
monochromatic
#072A0D #0F5F1C #17942C #1FC93C #44E25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17942C#FFFFFF#000000##000000
##17942C1.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)
#97851D
Deuteranopia (green-blind)
#8A7C36
Tritanopia (blue-blind)
#00907F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #17942c;
/* rgb */ color: rgb(23, 148, 44);
/* oklch */ color: oklch(58.2% 0.175 144.8);
Tailwind
colors: {
  custom: {
    50: '#6eb56b',
    500: '#17942c',
    950: '#000000',
  },
}
SCSS
$custom: #17942c;
$custom-light: #6eb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#17942c",
  "rgb": {
    "r": 23,
    "g": 148,
    "b": 44
  },
  "hsl": {
    "h": 130.08,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58201,
    "c": 0.17549,
    "h": 144.8
  },
  "luminance": 0.21544
}

Semantic roles & 50–950 ramp

primary
#17942C
secondary
#C344AD
accent
#38D1F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #17942C

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

Preview Lab → · Contrast checker → · Palette generator →

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