#17902A#17902A

#17902A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.172 H 144.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#17902A
RGBrgb(23, 144, 42)
HSLhsl(129, 72%, 33%)
HSVhsv(129, 84%, 56%)
CMYKcmyk(84%, 0%, 70.8%, 43.5%)
CIE-LABlab(52.17, -52.07, 43.42)
CIE-LCHlch(52.17, 67.80, 140.18°)
OKLaboklab(57.06% -0.1405 0.0996)
OKLCHoklch(57.06% 0.172 144.7)
XYZxyz(10.7438, 20.2945, 5.5410)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17902A #90177D
analogous
#419017 #17902A #179066
triadic
#17902A #2A1790 #902A17
tetradic
#17902A #174190 #90177D #906617
square
#17902A #174190 #90177D #906617
split-complementary
#17902A #661790 #901741
monochromatic
#06260B #0F5B1B #17902A #1FC539 #41E15A

Accessibility & contrast

On white

4.15
#17902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#17902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #17902A
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17902A#FFFFFF#000000##000000
##17902A1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#867934
Tritanopia (blue-blind)
#008C7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #17902a;
/* rgb */ color: rgb(23, 144, 42);
/* oklch */ color: oklch(57.1% 0.172 144.7);
Tailwind
colors: {
  custom: {
    50: '#6db269',
    500: '#17902a',
    950: '#000000',
  },
}
SCSS
$custom: #17902a;
$custom-light: #6db269;
$custom-dark: #000000;
JSON
{
  "hex": "#17902a",
  "rgb": {
    "r": 23,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 129.421,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.57057,
    "c": 0.17222,
    "h": 144.7
  },
  "luminance": 0.20296
}

Semantic roles & 50–950 ramp

primary
#17902A
secondary
#C142AD
accent
#39D3EF
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #17902A

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

Preview Lab → · Contrast checker → · Palette generator →

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