#17502C#17502C

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

Color values

HEX#17502C
RGBrgb(23, 80, 44)
HSLhsl(142, 55%, 20%)
HSVhsv(142, 71%, 31%)
CMYKcmyk(71.2%, 0%, 45%, 68.6%)
CIE-LABlab(29.67, -27.74, 15.96)
CIE-LCHlch(29.67, 32.01, 150.08°)
OKLaboklab(38.42% -0.0749 0.0396)
OKLCHoklch(38.42% 0.085 152.1)
XYZxyz(3.6763, 6.1009, 3.3662)
Luminance0.0610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17502C #50173B
analogous
#1F5017 #17502C #175048
triadic
#17502C #2C1750 #502C17
tetradic
#17502C #171F50 #50173B #504817
square
#17502C #171F50 #50173B #504817
split-complementary
#17502C #481750 #50171F
monochromatic
#07180D #092012 #17502C #258046 #32AF60

Accessibility & contrast

On white

9.46
#17502C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17502C
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17502C#FFFFFF#000000##FFFFFF
##17502C1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504929
Deuteranopia (green-blind)
#49442E
Tritanopia (blue-blind)
#004F47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #17502c;
/* rgb */ color: rgb(23, 80, 44);
/* oklch */ color: oklch(38.4% 0.085 152.1);
Tailwind
colors: {
  custom: {
    50: '#5c8265',
    500: '#17502c',
    950: '#000000',
  },
}
SCSS
$custom: #17502c;
$custom-light: #5c8265;
$custom-dark: #000000;
JSON
{
  "hex": "#17502c",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 44
  },
  "hsl": {
    "h": 142.105,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3842,
    "c": 0.08473,
    "h": 152.1
  },
  "luminance": 0.06101
}

Semantic roles & 50–950 ramp

primary
#17502C
secondary
#873C6B
accent
#49A8DF
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A05
muted
#797C7A

Preview Lab

Preview with #17502C

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

Preview Lab → · Contrast checker → · Palette generator →

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