#82731B#82731B

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

Color values

HEX#82731B
RGBrgb(130, 115, 27)
HSLhsl(51, 66%, 31%)
HSVhsv(51, 79%, 51%)
CMYKcmyk(0%, 11.5%, 79.2%, 49%)
CIE-LABlab(48.37, -4.08, 47.29)
CIE-LCHlch(48.37, 47.47, 94.93°)
OKLaboklab(55.35% -0.0164 0.1033)
OKLCHoklch(55.35% 0.105 99)
XYZxyz(15.5353, 17.0872, 3.5166)
Luminance0.1709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82731B #1B2A82
analogous
#823F1B #82731B #5D821B
triadic
#82731B #1B8273 #731B82
tetradic
#82731B #1B823F #1B2A82 #821B5D
square
#82731B #1B823F #1B2A82 #821B5D
split-complementary
#82731B #1B5D82 #3F1B82
monochromatic
#1D1906 #4F4610 #82731B #B5A026 #D7C140

Accessibility & contrast

On white

4.75
#82731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #82731B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82731B#FFFFFF#000000##FFFFFF
##82731B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #82731b;
/* rgb */ color: rgb(130, 115, 27);
/* oklch */ color: oklch(55.4% 0.105 99.0);
Tailwind
colors: {
  custom: {
    50: '#aa9a5f',
    500: '#82731b',
    950: '#000000',
  },
}
SCSS
$custom: #82731b;
$custom-light: #aa9a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#82731b",
  "rgb": {
    "r": 130,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 51.262,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55354,
    "c": 0.10464,
    "h": 99
  },
  "luminance": 0.17086
}

Semantic roles & 50–950 ramp

primary
#82731B
secondary
#4354B6
accent
#58E93F
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #82731B

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

Preview Lab → · Contrast checker → · Palette generator →

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