#80771B#80771B

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

Color values

HEX#80771B
RGBrgb(128, 119, 27)
HSLhsl(55, 65%, 30%)
HSVhsv(55, 79%, 50%)
CMYKcmyk(0%, 7%, 78.9%, 49.8%)
CIE-LABlab(49.33, -7.26, 48.10)
CIE-LCHlch(49.33, 48.65, 98.59°)
OKLaboklab(56.07% -0.0253 0.1052)
OKLCHoklch(56.07% 0.108 103.5)
XYZxyz(15.6975, 17.8626, 3.6577)
Luminance0.1786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80771B #1B2480
analogous
#80441B #80771B #57801B
triadic
#80771B #1B8077 #771B80
tetradic
#80771B #1B8044 #1B2480 #801B57
square
#80771B #1B8044 #1B2480 #801B57
split-complementary
#80771B #1B5780 #441B80
monochromatic
#1B1906 #4D4810 #80771B #B3A626 #D6C93F

Accessibility & contrast

On white

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

On black

4.57
#80771B on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##80771B#FFFFFF#000000##FFFFFF
##80771B1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827306
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#8A6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #80771b;
/* rgb */ color: rgb(128, 119, 27);
/* oklch */ color: oklch(56.1% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#a89d60',
    500: '#80771b',
    950: '#000000',
  },
}
SCSS
$custom: #80771b;
$custom-light: #a89d60;
$custom-dark: #000000;
JSON
{
  "hex": "#80771b",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 54.653,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.5607,
    "c": 0.10817,
    "h": 103.5
  },
  "luminance": 0.17862
}

Semantic roles & 50–950 ramp

primary
#80771B
secondary
#434DB4
accent
#4FE840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80771B

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

Preview Lab → · Contrast checker → · Palette generator →

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