#80771F#80771F

#80771F is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.1% C 0.106 H 103.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#80771F
RGBrgb(128, 119, 31)
HSLhsl(54, 61%, 31%)
HSVhsv(54, 76%, 50%)
CMYKcmyk(0%, 7%, 75.8%, 49.8%)
CIE-LABlab(49.35, -7.08, 46.65)
CIE-LCHlch(49.35, 47.18, 98.63°)
OKLaboklab(56.1% -0.0244 0.1029)
OKLCHoklch(56.1% 0.106 103.3)
XYZxyz(15.7469, 17.8824, 3.9183)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80771F #1F2880
analogous
#80461F #80771F #58801F
triadic
#80771F #1F8077 #771F80
tetradic
#80771F #1F8046 #1F2880 #801F58
square
#80771F #1F8046 #1F2880 #801F58
split-complementary
#80771F #1F5880 #461F80
monochromatic
#1D1B07 #4F4913 #80771F #B1A52B #D2C547

Accessibility & contrast

On white

4.59
#80771F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#80771F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #80771F
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80771F#FFFFFF#000000##FFFFFF
##80771F1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730F
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#8A6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #80771f;
/* rgb */ color: rgb(128, 119, 31);
/* oklch */ color: oklch(56.1% 0.106 103.3);
Tailwind
colors: {
  custom: {
    50: '#a89d62',
    500: '#80771f',
    950: '#000000',
  },
}
SCSS
$custom: #80771f;
$custom-light: #a89d62;
$custom-dark: #000000;
JSON
{
  "hex": "#80771f",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 54.433,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.56097,
    "c": 0.10573,
    "h": 103.3
  },
  "luminance": 0.17882
}

Semantic roles & 50–950 ramp

primary
#80771F
secondary
#4852B3
accent
#53E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A

Preview Lab

Preview with #80771F

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

Preview Lab → · Contrast checker → · Palette generator →

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