#17851B#17851B

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

Color values

HEX#17851B
RGBrgb(23, 133, 27)
HSLhsl(122, 71%, 31%)
HSVhsv(122, 83%, 52%)
CMYKcmyk(82.7%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.30, -49.80, 45.20)
CIE-LCHlch(48.30, 67.26, 137.77°)
OKLaboklab(53.81% -0.135 0.1013)
OKLCHoklch(53.81% 0.169 143.1)
XYZxyz(8.9381, 17.0353, 3.8538)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#17851B #851781
analogous
#4A8517 #17851B #178552
triadic
#17851B #1B1785 #851B17
tetradic
#17851B #174A85 #851781 #855217
square
#17851B #174A85 #851781 #855217
split-complementary
#17851B #521785 #85174A
monochromatic
#051D06 #0E5110 #17851B #20B926 #3ADD3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##17851B#FFFFFF#000000##FFFFFF
##17851B1.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)
#887801
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #17851b;
/* rgb */ color: rgb(23, 133, 27);
/* oklch */ color: oklch(53.8% 0.169 143.1);
Tailwind
colors: {
  custom: {
    50: '#6baa60',
    500: '#17851b',
    950: '#000000',
  },
}
SCSS
$custom: #17851b;
$custom-light: #6baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#17851b",
  "rgb": {
    "r": 23,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 122.182,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53808,
    "c": 0.16877,
    "h": 143.1
  },
  "luminance": 0.17036
}

Semantic roles & 50–950 ramp

primary
#17851B
secondary
#B93FB5
accent
#3BE7ED
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #17851B

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

Preview Lab → · Contrast checker → · Palette generator →

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