#82871A#82871A

#82871A is a mid, vivid yellow. Relative luminance 0.221; OKLCH L 60.0% C 0.124 H 112.4°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#82871A
RGBrgb(130, 135, 26)
HSLhsl(63, 68%, 32%)
HSVhsv(63, 81%, 53%)
CMYKcmyk(3.7%, 0%, 80.7%, 47.1%)
CIE-LABlab(54.18, -15.08, 52.89)
CIE-LCHlch(54.18, 55.00, 105.92°)
OKLaboklab(59.99% -0.0473 0.1151)
OKLCHoklch(59.99% 0.124 112.4)
XYZxyz(18.0570, 22.1488, 4.3010)
Luminance0.2215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82871A #1F1A87
analogous
#87561A #82871A #4C871A
triadic
#82871A #1A8287 #871A82
tetradic
#82871A #1A8756 #1F1A87 #871A4C
square
#82871A #1A8756 #1F1A87 #871A4C
split-complementary
#82871A #1A4C87 #561A87
monochromatic
#1F2006 #515410 #82871A #B3BA24 #D3DA41

Accessibility & contrast

On white

3.87
#82871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#82871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #82871A
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82871A#FFFFFF#000000##000000
##82871A1.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#928324
Tritanopia (blue-blind)
#8B7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #82871a;
/* rgb */ color: rgb(130, 135, 26);
/* oklch */ color: oklch(60.0% 0.124 112.4);
Tailwind
colors: {
  custom: {
    50: '#aaa961',
    500: '#82871a',
    950: '#000000',
  },
}
SCSS
$custom: #82871a;
$custom-light: #aaa961;
$custom-dark: #000000;
JSON
{
  "hex": "#82871a",
  "rgb": {
    "r": 130,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 62.752,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.59987,
    "c": 0.12446,
    "h": 112.4
  },
  "luminance": 0.22148
}

Semantic roles & 50–950 ramp

primary
#82871A
secondary
#4842BA
accent
#3DEB45
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A

Preview Lab

Preview with #82871A

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

Preview Lab → · Contrast checker → · Palette generator →

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