#17852D#17852D

#17852D is a mid, vivid green. Relative luminance 0.171; OKLCH L 54.0% C 0.157 H 145.6°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#17852D
RGBrgb(23, 133, 45)
HSLhsl(132, 71%, 31%)
HSVhsv(132, 83%, 52%)
CMYKcmyk(82.7%, 0%, 66.2%, 47.8%)
CIE-LABlab(48.44, -48.08, 38.06)
CIE-LCHlch(48.44, 61.32, 141.64°)
OKLaboklab(53.97% -0.1295 0.0886)
OKLCHoklch(53.97% 0.157 145.6)
XYZxyz(9.2139, 17.1456, 5.3059)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17852D #85176F
analogous
#388517 #17852D #178564
triadic
#17852D #2D1785 #852D17
tetradic
#17852D #173885 #85176F #856417
square
#17852D #173885 #85176F #856417
split-complementary
#17852D #641785 #851738
monochromatic
#051D0A #0E511B #17852D #20B93F #3ADD5A

Accessibility & contrast

On white

4.74
#17852D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#17852D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17852D
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17852D#FFFFFF#000000##FFFFFF
##17852D1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877822
Deuteranopia (green-blind)
#7B7035
Tritanopia (blue-blind)
#008273
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17852d;
/* rgb */ color: rgb(23, 133, 45);
/* oklch */ color: oklch(54.0% 0.157 145.6);
Tailwind
colors: {
  custom: {
    50: '#6aaa6a',
    500: '#17852d',
    950: '#000000',
  },
}
SCSS
$custom: #17852d;
$custom-light: #6aaa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#17852d",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 45
  },
  "hsl": {
    "h": 132,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.15693,
    "h": 145.6
  },
  "luminance": 0.17147
}

Semantic roles & 50–950 ramp

primary
#17852D
secondary
#B93FA1
accent
#3BCAED
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081007
muted
#7A7F7A

Preview Lab

Preview with #17852D

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

Preview Lab → · Contrast checker → · Palette generator →

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