#80731B#80731B

#80731B is a mid, moderate yellow. Relative luminance 0.169; OKLCH L 55.2% C 0.105 H 100.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#80731B
RGBrgb(128, 115, 27)
HSLhsl(52, 65%, 30%)
HSVhsv(52, 79%, 50%)
CMYKcmyk(0%, 10.2%, 78.9%, 49.8%)
CIE-LABlab(48.17, -5.02, 47.04)
CIE-LCHlch(48.17, 47.30, 96.09°)
OKLaboklab(55.15% -0.019 0.1029)
OKLCHoklch(55.15% 0.105 100.5)
XYZxyz(15.2314, 16.9305, 3.5023)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80731B #1B2880
analogous
#80401B #80731B #5A801B
triadic
#80731B #1B8073 #731B80
tetradic
#80731B #1B8040 #1B2880 #801B5A
square
#80731B #1B8040 #1B2880 #801B5A
split-complementary
#80731B #1B5A80 #401B80
monochromatic
#1B1806 #4D4610 #80731B #B3A026 #D6C33F

Accessibility & contrast

On white

4.79
#80731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#80731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #80731B
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80731B#FFFFFF#000000##FFFFFF
##80731B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#827521
Tritanopia (blue-blind)
#8A6A62
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #80731b;
/* rgb */ color: rgb(128, 115, 27);
/* oklch */ color: oklch(55.2% 0.105 100.5);
Tailwind
colors: {
  custom: {
    50: '#a89a5f',
    500: '#80731b',
    950: '#000000',
  },
}
SCSS
$custom: #80731b;
$custom-light: #a89a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#80731b",
  "rgb": {
    "r": 128,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 52.277,
    "s": 65.161,
    "l": 30.392
  },
  "oklch": {
    "l": 0.55151,
    "c": 0.10463,
    "h": 100.5
  },
  "luminance": 0.1693
}

Semantic roles & 50–950 ramp

primary
#80731B
secondary
#4352B4
accent
#55E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80731B

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

Preview Lab → · Contrast checker → · Palette generator →

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