#71871B#71871B

#71871B 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#71871B
RGBrgb(113, 135, 27)
HSLhsl(72, 67%, 32%)
HSVhsv(72, 80%, 53%)
CMYKcmyk(16.3%, 0%, 80%, 47.1%)
CIE-LABlab(52.86, -22.63, 50.89)
CIE-LCHlch(52.86, 55.69, 113.97°)
OKLaboklab(58.59% -0.0671 0.1117)
OKLCHoklch(58.59% 0.13 121)
XYZxyz(15.6721, 20.9178, 4.2486)
Luminance0.2092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71871B #311B87
analogous
#87671B #71871B #3B871B
triadic
#71871B #1B7187 #871B71
tetradic
#71871B #1B8767 #311B87 #871B3B
square
#71871B #1B8767 #311B87 #871B3B
split-complementary
#71871B #1B3B87 #671B87
monochromatic
#1C2107 #465411 #71871B #9CBA25 #BBD943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71871B#FFFFFF#000000##000000
##71871B1.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: #71871b;
/* rgb */ color: rgb(113, 135, 27);
/* oklch */ color: oklch(58.6% 0.130 121.0);
Tailwind
colors: {
  custom: {
    50: '#9daa62',
    500: '#71871b',
    950: '#000000',
  },
}
SCSS
$custom: #71871b;
$custom-light: #9daa62;
$custom-dark: #000000;
JSON
{
  "hex": "#71871b",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 72.222,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58591,
    "c": 0.13027,
    "h": 121
  },
  "luminance": 0.20918
}

Semantic roles & 50–950 ramp

primary
#71871B
secondary
#5C44BA
accent
#3EEA61
background
#FAFAF6
surface
#F3F4EB
border
#CDCEC6
text
#0F1005
muted
#7F7F7A

Preview Lab

Preview with #71871B

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

Preview Lab → · Contrast checker → · Palette generator →

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