#17501B#17501B

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

Color values

HEX#17501B
RGBrgb(23, 80, 27)
HSLhsl(124, 55%, 20%)
HSVhsv(124, 71%, 31%)
CMYKcmyk(71.2%, 0%, 66.3%, 68.6%)
CIE-LABlab(29.41, -30.66, 25.39)
CIE-LCHlch(29.41, 39.81, 140.37°)
OKLaboklab(38.12% -0.083 0.0597)
OKLCHoklch(38.12% 0.102 144.3)
XYZxyz(3.4196, 5.9983, 2.0143)
Luminance0.0600 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17501B #50174C
analogous
#2F5017 #17501B #175038
triadic
#17501B #1B1750 #501B17
tetradic
#17501B #172F50 #50174C #503817
square
#17501B #172F50 #50174C #503817
split-complementary
#17501B #381750 #50172F
monochromatic
#071808 #09200B #17501B #25802B #32AF3B

Accessibility & contrast

On white

9.55
#17501B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #17501B
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17501B#FFFFFF#000000##FFFFFF
##17501B1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524815
Deuteranopia (green-blind)
#4B431F
Tritanopia (blue-blind)
#094E45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17501b;
/* rgb */ color: rgb(23, 80, 27);
/* oklch */ color: oklch(38.1% 0.102 144.3);
Tailwind
colors: {
  custom: {
    50: '#5d8259',
    500: '#17501b',
    950: '#000000',
  },
}
SCSS
$custom: #17501b;
$custom-light: #5d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#17501b",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 27
  },
  "hsl": {
    "h": 124.211,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.38123,
    "c": 0.10226,
    "h": 144.3
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#17501B
secondary
#873C82
accent
#49D4DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A04
muted
#797C79

Preview Lab

Preview with #17501B

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

Preview Lab → · Contrast checker → · Palette generator →

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