#17962D#17962D

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

Color values

HEX#17962D
RGBrgb(23, 150, 45)
HSLhsl(130, 73%, 34%)
HSVhsv(130, 85%, 59%)
CMYKcmyk(84.7%, 0%, 70%, 41.2%)
CIE-LABlab(54.22, -53.72, 44.35)
CIE-LCHlch(54.22, 69.66, 140.46°)
OKLaboklab(58.77% -0.1449 0.1019)
OKLCHoklch(58.77% 0.177 144.9)
XYZxyz(11.7325, 22.1829, 6.1455)
Luminance0.2218 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17962D #961780
analogous
#419617 #17962D #17966D
triadic
#17962D #2D1796 #962D17
tetradic
#17962D #174196 #961780 #966D17
square
#17962D #174196 #961780 #966D17
split-complementary
#17962D #6D1796 #961741
monochromatic
#072C0D #0F611D #17962D #1FCB3D #45E260

Accessibility & contrast

On white

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

On black

5.44
#17962D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17962D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17962D#FFFFFF#000000##000000
##17962D1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #17962d;
/* rgb */ color: rgb(23, 150, 45);
/* oklch */ color: oklch(58.8% 0.177 144.9);
Tailwind
colors: {
  custom: {
    50: '#6fb66c',
    500: '#17962d',
    950: '#000000',
  },
}
SCSS
$custom: #17962d;
$custom-light: #6fb66c;
$custom-dark: #000000;
JSON
{
  "hex": "#17962d",
  "rgb": {
    "r": 23,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 130.394,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.17712,
    "h": 144.9
  },
  "luminance": 0.22184
}

Semantic roles & 50–950 ramp

primary
#17962D
secondary
#C345AE
accent
#38D0F0
background
#F7FBF6
surface
#EDF6EC
border
#C8D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #17962D

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

Preview Lab → · Contrast checker → · Palette generator →

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