#17802A#17802A

#17802A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.153 H 145.3°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#17802A
RGBrgb(23, 128, 42)
HSLhsl(131, 70%, 30%)
HSVhsv(131, 82%, 50%)
CMYKcmyk(82%, 0%, 67.2%, 49.8%)
CIE-LABlab(46.69, -46.72, 37.49)
CIE-LCHlch(46.69, 59.91, 141.26°)
OKLaboklab(52.51% -0.126 0.0871)
OKLCHoklch(52.51% 0.153 145.3)
XYZxyz(8.4898, 15.7866, 4.7897)
Luminance0.1579 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17802A #80176D
analogous
#398017 #17802A #17805F
triadic
#17802A #2A1780 #802A17
tetradic
#17802A #173980 #80176D #805F17
square
#17802A #173980 #80176D #805F17
split-complementary
#17802A #5F1780 #801739
monochromatic
#051A09 #0E4C19 #17802A #20B43B #36DB54

Accessibility & contrast

On white

5.05
#17802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#17802A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17802A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17802A#FFFFFF#000000##FFFFFF
##17802A1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731F
Deuteranopia (green-blind)
#776C32
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #17802a;
/* rgb */ color: rgb(23, 128, 42);
/* oklch */ color: oklch(52.5% 0.153 145.3);
Tailwind
colors: {
  custom: {
    50: '#69a667',
    500: '#17802a',
    950: '#000000',
  },
}
SCSS
$custom: #17802a;
$custom-light: #69a667;
$custom-dark: #000000;
JSON
{
  "hex": "#17802a",
  "rgb": {
    "r": 23,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 130.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52505,
    "c": 0.15312,
    "h": 145.3
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#17802A
secondary
#B43E9F
accent
#3BCCEC
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #17802A

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

Preview Lab → · Contrast checker → · Palette generator →

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