#80851A#80851A

#80851A is a mid, vivid yellow. Relative luminance 0.214; OKLCH L 59.3% C 0.123 H 112.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#80851A
RGBrgb(128, 133, 26)
HSLhsl(63, 67%, 31%)
HSVhsv(63, 80%, 52%)
CMYKcmyk(3.8%, 0%, 80.5%, 47.8%)
CIE-LABlab(53.43, -14.93, 52.15)
CIE-LCHlch(53.43, 54.25, 105.98°)
OKLaboklab(59.34% -0.0468 0.1136)
OKLCHoklch(59.34% 0.123 112.4)
XYZxyz(17.4767, 21.4393, 4.1946)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80851A #1F1A85
analogous
#85541A #80851A #4A851A
triadic
#80851A #1A8085 #851A80
tetradic
#80851A #1A8554 #1F1A85 #851A4A
square
#80851A #1A8554 #1F1A85 #851A4A
split-complementary
#80851A #1A4A85 #541A85
monochromatic
#1D1F06 #4F5210 #80851A #B1B824 #D2DA40

Accessibility & contrast

On white

3.97
#80851A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#80851A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #80851A
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80851A#FFFFFF#000000##000000
##80851A1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E00
Deuteranopia (green-blind)
#908124
Tritanopia (blue-blind)
#897C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #80851a;
/* rgb */ color: rgb(128, 133, 26);
/* oklch */ color: oklch(59.3% 0.123 112.4);
Tailwind
colors: {
  custom: {
    50: '#a8a861',
    500: '#80851a',
    950: '#000000',
  },
}
SCSS
$custom: #80851a;
$custom-light: #a8a861;
$custom-dark: #000000;
JSON
{
  "hex": "#80851a",
  "rgb": {
    "r": 128,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 62.804,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.59339,
    "c": 0.12288,
    "h": 112.4
  },
  "luminance": 0.21439
}

Semantic roles & 50–950 ramp

primary
#80851A
secondary
#4842B8
accent
#3EEA46
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80851A

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

Preview Lab → · Contrast checker → · Palette generator →

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