#17962B#17962B

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

Color values

HEX#17962B
RGBrgb(23, 150, 43)
HSLhsl(129, 73%, 34%)
HSVhsv(129, 85%, 59%)
CMYKcmyk(84.7%, 0%, 71.3%, 41.2%)
CIE-LABlab(54.20, -53.92, 45.16)
CIE-LCHlch(54.20, 70.33, 140.05°)
OKLaboklab(58.75% -0.1455 0.1034)
OKLCHoklch(58.75% 0.178 144.6)
XYZxyz(11.6949, 22.1678, 5.9475)
Luminance0.2217 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17962B #961782
analogous
#439617 #17962B #17966B
triadic
#17962B #2B1796 #962B17
tetradic
#17962B #174396 #961782 #966B17
square
#17962B #174396 #961782 #966B17
split-complementary
#17962B #6B1796 #961743
monochromatic
#072C0D #0F611C #17962B #1FCB3A #45E25E

Accessibility & contrast

On white

3.86
#17962B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##17962B#FFFFFF#000000##000000
##17962B1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871B
Deuteranopia (green-blind)
#8B7E36
Tritanopia (blue-blind)
#009281
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #17962b;
/* rgb */ color: rgb(23, 150, 43);
/* oklch */ color: oklch(58.8% 0.178 144.6);
Tailwind
colors: {
  custom: {
    50: '#6fb66a',
    500: '#17962b',
    950: '#000000',
  },
}
SCSS
$custom: #17962b;
$custom-light: #6fb66a;
$custom-dark: #000000;
JSON
{
  "hex": "#17962b",
  "rgb": {
    "r": 23,
    "g": 150,
    "b": 43
  },
  "hsl": {
    "h": 129.449,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58753,
    "c": 0.17846,
    "h": 144.6
  },
  "luminance": 0.22169
}

Semantic roles & 50–950 ramp

primary
#17962B
secondary
#C345B0
accent
#38D3F0
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091107
muted
#7B807A

Preview Lab

Preview with #17962B

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

Preview Lab → · Contrast checker → · Palette generator →

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