#80771C#80771C

#80771C 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#80771C
RGBrgb(128, 119, 28)
HSLhsl(55, 64%, 31%)
HSVhsv(55, 78%, 50%)
CMYKcmyk(0%, 7%, 78.1%, 49.8%)
CIE-LABlab(49.33, -7.22, 47.75)
CIE-LCHlch(49.33, 48.29, 98.60°)
OKLaboklab(56.08% -0.0251 0.1046)
OKLCHoklch(56.08% 0.108 103.5)
XYZxyz(15.7092, 17.8673, 3.7197)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80771C #1C2580
analogous
#80451C #80771C #57801C
triadic
#80771C #1C8077 #771C80
tetradic
#80771C #1C8045 #1C2580 #801C57
square
#80771C #1C8045 #1C2580 #801C57
split-complementary
#80771C #1C5780 #451C80
monochromatic
#1C1A06 #4E4811 #80771C #B2A627 #D5C841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80771C#FFFFFF#000000##FFFFFF
##80771C1.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)
#827308
Deuteranopia (green-blind)
#857723
Tritanopia (blue-blind)
#8A6E66
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #80771c;
/* rgb */ color: rgb(128, 119, 28);
/* oklch */ color: oklch(56.1% 0.108 103.5);
Tailwind
colors: {
  custom: {
    50: '#a89d60',
    500: '#80771c',
    950: '#000000',
  },
}
SCSS
$custom: #80771c;
$custom-light: #a89d60;
$custom-dark: #000000;
JSON
{
  "hex": "#80771c",
  "rgb": {
    "r": 128,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 54.6,
    "s": 64.103,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56076,
    "c": 0.10759,
    "h": 103.5
  },
  "luminance": 0.17867
}

Semantic roles & 50–950 ramp

primary
#80771C
secondary
#444EB3
accent
#50E741
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80771C

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

Preview Lab → · Contrast checker → · Palette generator →

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