#71771A#71771A

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

Color values

HEX#71771A
RGBrgb(113, 119, 26)
HSLhsl(64, 64%, 28%)
HSVhsv(64, 78%, 47%)
CMYKcmyk(5%, 0%, 78.2%, 53.3%)
CIE-LABlab(47.98, -14.30, 46.72)
CIE-LCHlch(47.98, 48.86, 107.02°)
OKLaboklab(54.67% -0.0442 0.1027)
OKLCHoklch(54.67% 0.112 113.3)
XYZxyz(13.5938, 16.7792, 3.4997)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71771A #201A77
analogous
#774E1A #71771A #42771A
triadic
#71771A #1A7177 #771A71
tetradic
#71771A #1A774E #201A77 #771A42
square
#71771A #1A774E #201A77 #771A42
split-complementary
#71771A #1A4277 #4E1A77
monochromatic
#181905 #41450F #71771A #A1A925 #C9D338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##71771A#FFFFFF#000000##FFFFFF
##71771A1.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)
#807104
Deuteranopia (green-blind)
#807322
Tritanopia (blue-blind)
#796F65
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #71771a;
/* rgb */ color: rgb(113, 119, 26);
/* oklch */ color: oklch(54.7% 0.112 113.3);
Tailwind
colors: {
  custom: {
    50: '#9d9e5f',
    500: '#71771a',
    950: '#000000',
  },
}
SCSS
$custom: #71771a;
$custom-light: #9d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#71771a",
  "rgb": {
    "r": 113,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 63.871,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54666,
    "c": 0.11177,
    "h": 113.3
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#71771A
secondary
#4841AC
accent
#41E74B
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0F0E05
muted
#7E7E79

Preview Lab

Preview with #71771A

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

Preview Lab → · Contrast checker → · Palette generator →

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