#17851E#17851E

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

Color values

HEX#17851E
RGBrgb(23, 133, 30)
HSLhsl(124, 71%, 31%)
HSVhsv(124, 83%, 52%)
CMYKcmyk(82.7%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.32, -49.57, 44.16)
CIE-LCHlch(48.32, 66.39, 138.30°)
OKLaboklab(53.83% -0.1342 0.0996)
OKLCHoklch(53.83% 0.167 143.4)
XYZxyz(8.9746, 17.0499, 4.0460)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17851E #85177E
analogous
#478517 #17851E #178555
triadic
#17851E #1E1785 #851E17
tetradic
#17851E #174785 #85177E #855517
square
#17851E #174785 #85177E #855517
split-complementary
#17851E #551785 #851747
monochromatic
#051D06 #0E5112 #17851E #20B92A #3ADD44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17851E#FFFFFF#000000##FFFFFF
##17851E1.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)
#887808
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17851e;
/* rgb */ color: rgb(23, 133, 30);
/* oklch */ color: oklch(53.8% 0.167 143.4);
Tailwind
colors: {
  custom: {
    50: '#6baa62',
    500: '#17851e',
    950: '#000000',
  },
}
SCSS
$custom: #17851e;
$custom-light: #6baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#17851e",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 123.818,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5383,
    "c": 0.16712,
    "h": 143.4
  },
  "luminance": 0.17051
}

Semantic roles & 50–950 ramp

primary
#17851E
secondary
#B93FB1
accent
#3BE2ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #17851E

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

Preview Lab → · Contrast checker → · Palette generator →

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