#17962A#17962A

#17962A is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.7% C 0.179 H 144.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#17962A
RGBrgb(23, 150, 42)
HSLhsl(129, 73%, 34%)
HSVhsv(129, 85%, 59%)
CMYKcmyk(84.7%, 0%, 72%, 41.2%)
CIE-LABlab(54.20, -54.01, 45.55)
CIE-LCHlch(54.20, 70.66, 139.86°)
OKLaboklab(58.74% -0.1458 0.1041)
OKLCHoklch(58.74% 0.179 144.5)
XYZxyz(11.6768, 22.1606, 5.8520)
Luminance0.2216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17962A #961783
analogous
#449617 #17962A #17966A
triadic
#17962A #2A1796 #962A17
tetradic
#17962A #174496 #961783 #966A17
square
#17962A #174496 #961783 #966A17
split-complementary
#17962A #6A1796 #961744
monochromatic
#072C0C #0F611B #17962A #1FCB39 #45E25D

Accessibility & contrast

On white

3.87
#17962A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#17962A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17962A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17962A#FFFFFF#000000##000000
##17962A1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#8C7E35
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #17962a;
/* rgb */ color: rgb(23, 150, 42);
/* oklch */ color: oklch(58.7% 0.179 144.5);
Tailwind
colors: {
  custom: {
    50: '#6fb66a',
    500: '#17962a',
    950: '#000000',
  },
}
SCSS
$custom: #17962a;
$custom-light: #6fb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#17962a",
  "rgb": {
    "r": 23,
    "g": 150,
    "b": 42
  },
  "hsl": {
    "h": 128.976,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58744,
    "c": 0.17911,
    "h": 144.5
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#17962A
secondary
#C345B1
accent
#38D4F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #17962A

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

Preview Lab → · Contrast checker → · Palette generator →

#17962A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva