#17851C#17851C

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

Color values

HEX#17851C
RGBrgb(23, 133, 28)
HSLhsl(123, 71%, 31%)
HSVhsv(123, 83%, 52%)
CMYKcmyk(82.7%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.31, -49.73, 44.86)
CIE-LCHlch(48.31, 66.97, 137.94°)
OKLaboklab(53.82% -0.1347 0.1007)
OKLCHoklch(53.82% 0.168 143.2)
XYZxyz(8.9499, 17.0400, 3.9157)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17851C #851780
analogous
#498517 #17851C #178553
triadic
#17851C #1C1785 #851C17
tetradic
#17851C #174985 #851780 #855317
square
#17851C #174985 #851780 #855317
split-complementary
#17851C #531785 #851749
monochromatic
#051D06 #0E5111 #17851C #20B927 #3ADD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17851C#FFFFFF#000000##FFFFFF
##17851C1.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)
#887803
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17851c;
/* rgb */ color: rgb(23, 133, 28);
/* oklch */ color: oklch(53.8% 0.168 143.2);
Tailwind
colors: {
  custom: {
    50: '#6baa61',
    500: '#17851c',
    950: '#000000',
  },
}
SCSS
$custom: #17851c;
$custom-light: #6baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#17851c",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 122.727,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53815,
    "c": 0.16824,
    "h": 143.2
  },
  "luminance": 0.17041
}

Semantic roles & 50–950 ramp

primary
#17851C
secondary
#B93FB3
accent
#3BE5ED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #17851C

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

Preview Lab → · Contrast checker → · Palette generator →

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