#71871C#71871C

#71871C is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.6% C 0.130 H 121.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#71871C
RGBrgb(113, 135, 28)
HSLhsl(72, 66%, 32%)
HSVhsv(72, 79%, 53%)
CMYKcmyk(16.3%, 0%, 79.3%, 47.1%)
CIE-LABlab(52.86, -22.58, 50.57)
CIE-LCHlch(52.86, 55.38, 114.06°)
OKLaboklab(58.6% -0.0669 0.1112)
OKLCHoklch(58.6% 0.13 121)
XYZxyz(15.6839, 20.9225, 4.3106)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71871C #321C87
analogous
#87671C #71871C #3C871C
triadic
#71871C #1C7187 #871C71
tetradic
#71871C #1C8767 #321C87 #871C3C
square
#71871C #1C8767 #321C87 #871C3C
split-complementary
#71871C #1C3C87 #671C87
monochromatic
#1C2207 #475411 #71871C #9BBA27 #BAD845

Accessibility & contrast

On white

4.05
#71871C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#71871C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71871C
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71871C#FFFFFF#000000##000000
##71871C1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#788073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #71871c;
/* rgb */ color: rgb(113, 135, 28);
/* oklch */ color: oklch(58.6% 0.130 121.0);
Tailwind
colors: {
  custom: {
    50: '#9daa62',
    500: '#71871c',
    950: '#000000',
  },
}
SCSS
$custom: #71871c;
$custom-light: #9daa62;
$custom-dark: #000000;
JSON
{
  "hex": "#71871c",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 72.336,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.58597,
    "c": 0.12973,
    "h": 121
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#71871C
secondary
#5D45BA
accent
#3FE962
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #71871C

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

Preview Lab → · Contrast checker → · Palette generator →

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