#17851F#17851F

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

Color values

HEX#17851F
RGBrgb(23, 133, 31)
HSLhsl(124, 71%, 31%)
HSVhsv(124, 83%, 52%)
CMYKcmyk(82.7%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.33, -49.49, 43.80)
CIE-LCHlch(48.33, 66.09, 138.49°)
OKLaboklab(53.84% -0.134 0.0989)
OKLCHoklch(53.84% 0.167 143.6)
XYZxyz(8.9876, 17.0551, 4.1143)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17851F #85177D
analogous
#468517 #17851F #178556
triadic
#17851F #1F1785 #851F17
tetradic
#17851F #174685 #85177D #855617
square
#17851F #174685 #85177D #855617
split-complementary
#17851F #561785 #851746
monochromatic
#051D07 #0E5113 #17851F #20B92B #3ADD45

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17851F#FFFFFF#000000##FFFFFF
##17851F1.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)
#88780A
Deuteranopia (green-blind)
#7C702A
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17851f;
/* rgb */ color: rgb(23, 133, 31);
/* oklch */ color: oklch(53.8% 0.167 143.6);
Tailwind
colors: {
  custom: {
    50: '#6baa62',
    500: '#17851f',
    950: '#000000',
  },
}
SCSS
$custom: #17851f;
$custom-light: #6baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#17851f",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 124.364,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53837,
    "c": 0.16654,
    "h": 143.6
  },
  "luminance": 0.17056
}

Semantic roles & 50–950 ramp

primary
#17851F
secondary
#B93FB0
accent
#3BE0ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #17851F

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

Preview Lab → · Contrast checker → · Palette generator →

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