#82871D#82871D

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

Color values

HEX#82871D
RGBrgb(130, 135, 29)
HSLhsl(63, 65%, 32%)
HSVhsv(63, 79%, 53%)
CMYKcmyk(3.7%, 0%, 78.5%, 47.1%)
CIE-LABlab(54.20, -14.96, 51.95)
CIE-LCHlch(54.20, 54.06, 106.07°)
OKLaboklab(60% -0.0467 0.1137)
OKLCHoklch(60% 0.123 112.4)
XYZxyz(18.0923, 22.1629, 4.4870)
Luminance0.2216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82871D #221D87
analogous
#87571D #82871D #4D871D
triadic
#82871D #1D8287 #871D82
tetradic
#82871D #1D8757 #221D87 #871D4D
square
#82871D #1D8757 #221D87 #871D4D
split-complementary
#82871D #1D4D87 #571D87
monochromatic
#212207 #515512 #82871D #B3B928 #D1D747

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##82871D#FFFFFF#000000##000000
##82871D1.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)
#928001
Deuteranopia (green-blind)
#928326
Tritanopia (blue-blind)
#8B7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #82871d;
/* rgb */ color: rgb(130, 135, 29);
/* oklch */ color: oklch(60.0% 0.123 112.4);
Tailwind
colors: {
  custom: {
    50: '#aaa963',
    500: '#82871d',
    950: '#000000',
  },
}
SCSS
$custom: #82871d;
$custom-light: #aaa963;
$custom-dark: #000000;
JSON
{
  "hex": "#82871d",
  "rgb": {
    "r": 130,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 62.83,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.60004,
    "c": 0.1229,
    "h": 112.4
  },
  "luminance": 0.22162
}

Semantic roles & 50–950 ramp

primary
#82871D
secondary
#4C46B9
accent
#40E848
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #82871D

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

Preview Lab → · Contrast checker → · Palette generator →

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