#80851B#80851B

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

Color values

HEX#80851B
RGBrgb(128, 133, 27)
HSLhsl(63, 66%, 31%)
HSVhsv(63, 80%, 52%)
CMYKcmyk(3.8%, 0%, 79.7%, 47.8%)
CIE-LABlab(53.43, -14.89, 51.84)
CIE-LCHlch(53.43, 53.94, 106.03°)
OKLaboklab(59.35% -0.0466 0.1131)
OKLCHoklch(59.35% 0.122 112.4)
XYZxyz(17.4880, 21.4438, 4.2545)
Luminance0.2144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80851B #201B85
analogous
#85551B #80851B #4B851B
triadic
#80851B #1B8085 #851B80
tetradic
#80851B #1B8555 #201B85 #851B4B
square
#80851B #1B8555 #201B85 #851B4B
split-complementary
#80851B #1B4B85 #551B85
monochromatic
#1E1F06 #4F5211 #80851B #B1B825 #D1D942

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80851B#FFFFFF#000000##000000
##80851B1.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)
#908125
Tritanopia (blue-blind)
#897C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #80851b;
/* rgb */ color: rgb(128, 133, 27);
/* oklch */ color: oklch(59.3% 0.122 112.4);
Tailwind
colors: {
  custom: {
    50: '#a8a862',
    500: '#80851b',
    950: '#000000',
  },
}
SCSS
$custom: #80851b;
$custom-light: #a8a862;
$custom-dark: #000000;
JSON
{
  "hex": "#80851b",
  "rgb": {
    "r": 128,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 62.83,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.12236,
    "h": 112.4
  },
  "luminance": 0.21443
}

Semantic roles & 50–950 ramp

primary
#80851B
secondary
#4944B8
accent
#3FE947
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #80851B

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

Preview Lab → · Contrast checker → · Palette generator →

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