#17942B#17942B

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

Color values

HEX#17942B
RGBrgb(23, 148, 43)
HSLhsl(130, 73%, 34%)
HSVhsv(130, 84%, 58%)
CMYKcmyk(84.5%, 0%, 70.9%, 42%)
CIE-LABlab(53.53, -53.27, 44.45)
CIE-LCHlch(53.53, 69.38, 140.16°)
OKLaboklab(58.19% -0.1437 0.1019)
OKLCHoklch(58.19% 0.176 144.7)
XYZxyz(11.3785, 21.5350, 5.8420)
Luminance0.2154 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17942B #941780
analogous
#419417 #17942B #179469
triadic
#17942B #2B1794 #942B17
tetradic
#17942B #174194 #941780 #946917
square
#17942B #174194 #941780 #946917
split-complementary
#17942B #691794 #941741
monochromatic
#072A0C #0F5F1C #17942B #1FC93A #44E25D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #17942b;
/* rgb */ color: rgb(23, 148, 43);
/* oklch */ color: oklch(58.2% 0.176 144.7);
Tailwind
colors: {
  custom: {
    50: '#6eb56a',
    500: '#17942b',
    950: '#000000',
  },
}
SCSS
$custom: #17942b;
$custom-light: #6eb56a;
$custom-dark: #000000;
JSON
{
  "hex": "#17942b",
  "rgb": {
    "r": 23,
    "g": 148,
    "b": 43
  },
  "hsl": {
    "h": 129.6,
    "s": 73.099,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58192,
    "c": 0.17617,
    "h": 144.7
  },
  "luminance": 0.21536
}

Semantic roles & 50–950 ramp

primary
#17942B
secondary
#C344AE
accent
#38D2F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #17942B

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

Preview Lab → · Contrast checker → · Palette generator →

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