#71871F#71871F

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

Color values

HEX#71871F
RGBrgb(113, 135, 31)
HSLhsl(73, 63%, 33%)
HSVhsv(73, 77%, 53%)
CMYKcmyk(16.3%, 0%, 77%, 47.1%)
CIE-LABlab(52.88, -22.43, 49.57)
CIE-LCHlch(52.88, 54.41, 114.35°)
OKLaboklab(58.62% -0.0662 0.1096)
OKLCHoklch(58.62% 0.128 121.1)
XYZxyz(15.7216, 20.9376, 4.5092)
Luminance0.2094 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71871F #351F87
analogous
#87691F #71871F #3D871F
triadic
#71871F #1F7187 #871F71
tetradic
#71871F #1F8769 #351F87 #871F3D
square
#71871F #1F8769 #351F87 #871F3D
split-complementary
#71871F #1F3D87 #691F87
monochromatic
#1E2308 #475514 #71871F #9BB92A #B8D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71871F#FFFFFF#000000##000000
##71871F1.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)
#907F07
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#788073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #71871f;
/* rgb */ color: rgb(113, 135, 31);
/* oklch */ color: oklch(58.6% 0.128 121.1);
Tailwind
colors: {
  custom: {
    50: '#9daa63',
    500: '#71871f',
    950: '#000000',
  },
}
SCSS
$custom: #71871f;
$custom-light: #9daa63;
$custom-dark: #000000;
JSON
{
  "hex": "#71871f",
  "rgb": {
    "r": 113,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 72.692,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58616,
    "c": 0.12804,
    "h": 121.1
  },
  "luminance": 0.20938
}

Semantic roles & 50–950 ramp

primary
#71871F
secondary
#614AB8
accent
#42E665
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #71871F

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

Preview Lab → · Contrast checker → · Palette generator →

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