#80851F#80851F

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

Color values

HEX#80851F
RGBrgb(128, 133, 31)
HSLhsl(63, 62%, 32%)
HSVhsv(63, 77%, 52%)
CMYKcmyk(3.8%, 0%, 76.7%, 47.8%)
CIE-LABlab(53.45, -14.72, 50.52)
CIE-LCHlch(53.45, 52.62, 106.24°)
OKLaboklab(59.37% -0.0458 0.1111)
OKLCHoklch(59.37% 0.12 112.4)
XYZxyz(17.5375, 21.4636, 4.5151)
Luminance0.2146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80851F #241F85
analogous
#85571F #80851F #4D851F
triadic
#80851F #1F8085 #851F80
tetradic
#80851F #1F8557 #241F85 #851F4D
square
#80851F #1F8557 #241F85 #851F4D
split-complementary
#80851F #1F4D85 #571F85
monochromatic
#202208 #505313 #80851F #B0B72B #CED54A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##80851F#FFFFFF#000000##000000
##80851F1.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)
#907F08
Deuteranopia (green-blind)
#908128
Tritanopia (blue-blind)
#897D72
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #80851f;
/* rgb */ color: rgb(128, 133, 31);
/* oklch */ color: oklch(59.4% 0.120 112.4);
Tailwind
colors: {
  custom: {
    50: '#a8a863',
    500: '#80851f',
    950: '#000000',
  },
}
SCSS
$custom: #80851f;
$custom-light: #a8a863;
$custom-dark: #000000;
JSON
{
  "hex": "#80851f",
  "rgb": {
    "r": 128,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 62.941,
    "s": 62.195,
    "l": 32.157
  },
  "oklch": {
    "l": 0.59369,
    "c": 0.12015,
    "h": 112.4
  },
  "luminance": 0.21463
}

Semantic roles & 50–950 ramp

primary
#80851F
secondary
#4E49B7
accent
#43E54B
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #80851F

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

Preview Lab → · Contrast checker → · Palette generator →

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