#71871E#71871E

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

Color values

HEX#71871E
RGBrgb(113, 135, 30)
HSLhsl(73, 64%, 32%)
HSVhsv(73, 78%, 53%)
CMYKcmyk(16.3%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.88, -22.49, 49.91)
CIE-LCHlch(52.88, 54.74, 114.25°)
OKLaboklab(58.61% -0.0665 0.1101)
OKLCHoklch(58.61% 0.129 121.1)
XYZxyz(15.7086, 20.9324, 4.4408)
Luminance0.2093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71871E #341E87
analogous
#87681E #71871E #3D871E
triadic
#71871E #1E7187 #871E71
tetradic
#71871E #1E8768 #341E87 #871E3D
square
#71871E #1E8768 #341E87 #871E3D
split-complementary
#71871E #1E3D87 #681E87
monochromatic
#1D2308 #475513 #71871E #9BB929 #B9D749

Accessibility & contrast

On white

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

On black

5.19
#71871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #71871E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71871E#FFFFFF#000000##000000
##71871E1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #71871e;
/* rgb */ color: rgb(113, 135, 30);
/* oklch */ color: oklch(58.6% 0.129 121.1);
Tailwind
colors: {
  custom: {
    50: '#9daa63',
    500: '#71871e',
    950: '#000000',
  },
}
SCSS
$custom: #71871e;
$custom-light: #9daa63;
$custom-dark: #000000;
JSON
{
  "hex": "#71871e",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 72.571,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58609,
    "c": 0.12862,
    "h": 121.1
  },
  "luminance": 0.20932
}

Semantic roles & 50–950 ramp

primary
#71871E
secondary
#6048B9
accent
#41E764
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #71871E

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

Preview Lab → · Contrast checker → · Palette generator →

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