#80731F#80731F

#80731F is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.2% C 0.102 H 100.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#80731F
RGBrgb(128, 115, 31)
HSLhsl(52, 61%, 31%)
HSVhsv(52, 76%, 50%)
CMYKcmyk(0%, 10.2%, 75.8%, 49.8%)
CIE-LABlab(48.20, -4.84, 45.54)
CIE-LCHlch(48.20, 45.80, 96.06°)
OKLaboklab(55.18% -0.018 0.1005)
OKLCHoklch(55.18% 0.102 100.2)
XYZxyz(15.2809, 16.9503, 3.7629)
Luminance0.1695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80731F #1F2C80
analogous
#80421F #80731F #5C801F
triadic
#80731F #1F8073 #731F80
tetradic
#80731F #1F8042 #1F2C80 #801F5C
square
#80731F #1F8042 #1F2C80 #801F5C
split-complementary
#80731F #1F5C80 #421F80
monochromatic
#1D1A07 #4F4713 #80731F #B19F2B #D2C047

Accessibility & contrast

On white

4.78
#80731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #80731F
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80731F#FFFFFF#000000##FFFFFF
##80731F1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7010
Deuteranopia (green-blind)
#827525
Tritanopia (blue-blind)
#8A6A63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #80731f;
/* rgb */ color: rgb(128, 115, 31);
/* oklch */ color: oklch(55.2% 0.102 100.2);
Tailwind
colors: {
  custom: {
    50: '#a89b61',
    500: '#80731f',
    950: '#000000',
  },
}
SCSS
$custom: #80731f;
$custom-light: #a89b61;
$custom-dark: #000000;
JSON
{
  "hex": "#80731f",
  "rgb": {
    "r": 128,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 51.959,
    "s": 61.006,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.10214,
    "h": 100.2
  },
  "luminance": 0.1695
}

Semantic roles & 50–950 ramp

primary
#80731F
secondary
#4856B3
accent
#59E444
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #80731F

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

Preview Lab → · Contrast checker → · Palette generator →

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