#17502D#17502D

#17502D is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.084 H 152.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#17502D
RGBrgb(23, 80, 45)
HSLhsl(143, 55%, 20%)
HSVhsv(143, 71%, 31%)
CMYKcmyk(71.2%, 0%, 43.7%, 68.6%)
CIE-LABlab(29.68, -27.53, 15.38)
CIE-LCHlch(29.68, 31.54, 150.81°)
OKLaboklab(38.44% -0.0744 0.0383)
OKLCHoklch(38.44% 0.084 152.8)
XYZxyz(3.6954, 6.1086, 3.4664)
Luminance0.0611 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17502D #50173A
analogous
#1D5017 #17502D #175049
triadic
#17502D #2D1750 #502D17
tetradic
#17502D #171D50 #50173A #504917
square
#17502D #171D50 #50173A #504917
split-complementary
#17502D #491750 #50171D
monochromatic
#07180D #092012 #17502D #258048 #32AF62

Accessibility & contrast

On white

9.45
#17502D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#17502D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17502D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17502D#FFFFFF#000000##FFFFFF
##17502D1.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50492B
Deuteranopia (green-blind)
#49442F
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #17502d;
/* rgb */ color: rgb(23, 80, 45);
/* oklch */ color: oklch(38.4% 0.084 152.8);
Tailwind
colors: {
  custom: {
    50: '#5c8266',
    500: '#17502d',
    950: '#000000',
  },
}
SCSS
$custom: #17502d;
$custom-light: #5c8266;
$custom-dark: #000000;
JSON
{
  "hex": "#17502d",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 143.158,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38442,
    "c": 0.08365,
    "h": 152.8
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#17502D
secondary
#873C6A
accent
#49A5DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #17502D

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

Preview Lab → · Contrast checker → · Palette generator →

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