#17501C#17501C

#17501C is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.101 H 144.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#17501C
RGBrgb(23, 80, 28)
HSLhsl(125, 55%, 20%)
HSVhsv(125, 71%, 31%)
CMYKcmyk(71.2%, 0%, 65%, 68.6%)
CIE-LABlab(29.42, -30.52, 24.88)
CIE-LCHlch(29.42, 39.38, 140.82°)
OKLaboklab(38.14% -0.0826 0.0587)
OKLCHoklch(38.14% 0.101 144.6)
XYZxyz(3.4314, 6.0030, 2.0762)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17501C #50174B
analogous
#2E5017 #17501C #175038
triadic
#17501C #1C1750 #501C17
tetradic
#17501C #172E50 #50174B #503817
square
#17501C #172E50 #50174B #503817
split-complementary
#17501C #381750 #50172E
monochromatic
#071808 #09200B #17501C #25802D #32AF3D

Accessibility & contrast

On white

9.54
#17501C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#17501C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #17501C
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17501C#FFFFFF#000000##FFFFFF
##17501C1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524817
Deuteranopia (green-blind)
#4B4320
Tritanopia (blue-blind)
#084E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17501c;
/* rgb */ color: rgb(23, 80, 28);
/* oklch */ color: oklch(38.1% 0.101 144.6);
Tailwind
colors: {
  custom: {
    50: '#5d825a',
    500: '#17501c',
    950: '#000000',
  },
}
SCSS
$custom: #17501c;
$custom-light: #5d825a;
$custom-dark: #000000;
JSON
{
  "hex": "#17501c",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 28
  },
  "hsl": {
    "h": 125.263,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38137,
    "c": 0.10133,
    "h": 144.6
  },
  "luminance": 0.06003
}

Semantic roles & 50–950 ramp

primary
#17501C
secondary
#873C81
accent
#49D2DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A04
muted
#797C79

Preview Lab

Preview with #17501C

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

Preview Lab → · Contrast checker → · Palette generator →

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