#82731A#82731A

#82731A is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.105 H 99.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#82731A
RGBrgb(130, 115, 26)
HSLhsl(51, 67%, 31%)
HSVhsv(51, 80%, 51%)
CMYKcmyk(0%, 11.5%, 80%, 49%)
CIE-LABlab(48.36, -4.12, 47.64)
CIE-LCHlch(48.36, 47.82, 94.94°)
OKLaboklab(55.35% -0.0167 0.1039)
OKLCHoklch(55.35% 0.105 99.1)
XYZxyz(15.5239, 17.0827, 3.4567)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82731A #1A2982
analogous
#823F1A #82731A #5D821A
triadic
#82731A #1A8273 #731A82
tetradic
#82731A #1A823F #1A2982 #821A5D
square
#82731A #1A823F #1A2982 #821A5D
split-complementary
#82731A #1A5D82 #3F1A82
monochromatic
#1C1906 #4F4610 #82731A #B5A024 #D8C23E

Accessibility & contrast

On white

4.76
#82731A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#82731A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #82731A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82731A#FFFFFF#000000##FFFFFF
##82731A1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#837520
Tritanopia (blue-blind)
#8D6A62
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #82731a;
/* rgb */ color: rgb(130, 115, 26);
/* oklch */ color: oklch(55.3% 0.105 99.1);
Tailwind
colors: {
  custom: {
    50: '#aa9a5f',
    500: '#82731a',
    950: '#000000',
  },
}
SCSS
$custom: #82731a;
$custom-light: #aa9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#82731a",
  "rgb": {
    "r": 130,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 51.346,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55348,
    "c": 0.10521,
    "h": 99.1
  },
  "luminance": 0.17082
}

Semantic roles & 50–950 ramp

primary
#82731A
secondary
#4253B6
accent
#57EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #82731A

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

Preview Lab → · Contrast checker → · Palette generator →

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