#17501A#17501A

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

Color values

HEX#17501A
RGBrgb(23, 80, 26)
HSLhsl(123, 55%, 20%)
HSVhsv(123, 71%, 31%)
CMYKcmyk(71.2%, 0%, 67.5%, 68.6%)
CIE-LABlab(29.40, -30.79, 25.90)
CIE-LCHlch(29.40, 40.24, 139.93°)
OKLaboklab(38.11% -0.0835 0.0606)
OKLCHoklch(38.11% 0.103 144)
XYZxyz(3.4083, 5.9937, 1.9544)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17501A #50174D
analogous
#305017 #17501A #175036
triadic
#17501A #1A1750 #501A17
tetradic
#17501A #173050 #50174D #503617
square
#17501A #173050 #50174D #503617
split-complementary
#17501A #361750 #501730
monochromatic
#071808 #09200B #17501A #258029 #32AF39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17501A#FFFFFF#000000##FFFFFF
##17501A1.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)
#524814
Deuteranopia (green-blind)
#4B431F
Tritanopia (blue-blind)
#094E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #17501a;
/* rgb */ color: rgb(23, 80, 26);
/* oklch */ color: oklch(38.1% 0.103 144.0);
Tailwind
colors: {
  custom: {
    50: '#5d8259',
    500: '#17501a',
    950: '#000000',
  },
}
SCSS
$custom: #17501a;
$custom-light: #5d8259;
$custom-dark: #000000;
JSON
{
  "hex": "#17501a",
  "rgb": {
    "r": 23,
    "g": 80,
    "b": 26
  },
  "hsl": {
    "h": 123.158,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.3811,
    "c": 0.10317,
    "h": 144
  },
  "luminance": 0.05994
}

Semantic roles & 50–950 ramp

primary
#17501A
secondary
#873C83
accent
#49D7DF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050A03
muted
#797C78

Preview Lab

Preview with #17501A

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

Preview Lab → · Contrast checker → · Palette generator →

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