#71771F#71771F

#71771F is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.7% C 0.109 H 113.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#71771F
RGBrgb(113, 119, 31)
HSLhsl(64, 59%, 29%)
HSVhsv(64, 74%, 47%)
CMYKcmyk(5%, 0%, 73.9%, 53.3%)
CIE-LABlab(48.01, -14.04, 44.89)
CIE-LCHlch(48.01, 47.04, 107.37°)
OKLaboklab(54.7% -0.043 0.0997)
OKLCHoklch(54.7% 0.109 113.3)
XYZxyz(13.6546, 16.8036, 3.8202)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71771F #251F77
analogous
#77511F #71771F #45771F
triadic
#71771F #1F7177 #771F71
tetradic
#71771F #1F7751 #251F77 #771F45
square
#71771F #1F7751 #251F77 #771F45
split-complementary
#71771F #1F4577 #511F77
monochromatic
#171806 #434612 #71771F #9FA82C #C4CE43

Accessibility & contrast

On white

4.82
#71771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#71771F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #71771F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71771F#FFFFFF#000000##FFFFFF
##71771F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#797066
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #71771f;
/* rgb */ color: rgb(113, 119, 31);
/* oklch */ color: oklch(54.7% 0.109 113.3);
Tailwind
colors: {
  custom: {
    50: '#9d9e61',
    500: '#71771f',
    950: '#000000',
  },
}
SCSS
$custom: #71771f;
$custom-light: #9d9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#71771f",
  "rgb": {
    "r": 113,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 64.091,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.547,
    "c": 0.1086,
    "h": 113.3
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#71771F
secondary
#4E47AB
accent
#46E251
background
#F9F9F6
surface
#F2F2EB
border
#CCCCC6
text
#0F0E05
muted
#7E7E7A

Preview Lab

Preview with #71771F

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

Preview Lab → · Contrast checker → · Palette generator →

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