#17851D#17851D

#17851D is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.168 H 143.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#17851D
RGBrgb(23, 133, 29)
HSLhsl(123, 71%, 31%)
HSVhsv(123, 83%, 52%)
CMYKcmyk(82.7%, 0%, 78.2%, 47.8%)
CIE-LABlab(48.32, -49.65, 44.52)
CIE-LCHlch(48.32, 66.68, 138.12°)
OKLaboklab(53.82% -0.1345 0.1002)
OKLCHoklch(53.82% 0.168 143.3)
XYZxyz(8.9621, 17.0448, 3.9798)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17851D #85177F
analogous
#488517 #17851D #178554
triadic
#17851D #1D1785 #851D17
tetradic
#17851D #174885 #85177F #855417
square
#17851D #174885 #85177F #855417
split-complementary
#17851D #541785 #851748
monochromatic
#051D06 #0E5112 #17851D #20B928 #3ADD42

Accessibility & contrast

On white

4.76
#17851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#17851D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #17851D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##17851D#FFFFFF#000000##FFFFFF
##17851D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887805
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17851d;
/* rgb */ color: rgb(23, 133, 29);
/* oklch */ color: oklch(53.8% 0.168 143.3);
Tailwind
colors: {
  custom: {
    50: '#6baa61',
    500: '#17851d',
    950: '#000000',
  },
}
SCSS
$custom: #17851d;
$custom-light: #6baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#17851d",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 123.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53822,
    "c": 0.16769,
    "h": 143.3
  },
  "luminance": 0.17046
}

Semantic roles & 50–950 ramp

primary
#17851D
secondary
#B93FB2
accent
#3BE4ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #17851D

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

Preview Lab → · Contrast checker → · Palette generator →

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