#82871F#82871F

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

Color values

HEX#82871F
RGBrgb(130, 135, 31)
HSLhsl(63, 63%, 33%)
HSVhsv(63, 77%, 53%)
CMYKcmyk(3.7%, 0%, 77%, 47.1%)
CIE-LABlab(54.21, -14.87, 51.29)
CIE-LCHlch(54.21, 53.40, 106.17°)
OKLaboklab(60.02% -0.0463 0.1126)
OKLCHoklch(60.02% 0.122 112.4)
XYZxyz(18.1178, 22.1731, 4.6215)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82871F #241F87
analogous
#87581F #82871F #4E871F
triadic
#82871F #1F8287 #871F82
tetradic
#82871F #1F8758 #241F87 #871F4E
square
#82871F #1F8758 #241F87 #871F4E
split-complementary
#82871F #1F4E87 #581F87
monochromatic
#222308 #525514 #82871F #B2B92A #CFD64B

Accessibility & contrast

On white

3.86
#82871F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##82871F#FFFFFF#000000##000000
##82871F1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #82871f;
/* rgb */ color: rgb(130, 135, 31);
/* oklch */ color: oklch(60.0% 0.122 112.4);
Tailwind
colors: {
  custom: {
    50: '#aaa964',
    500: '#82871f',
    950: '#000000',
  },
}
SCSS
$custom: #82871f;
$custom-light: #aaa964;
$custom-dark: #000000;
JSON
{
  "hex": "#82871f",
  "rgb": {
    "r": 130,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 62.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.12179,
    "h": 112.4
  },
  "luminance": 0.22173
}

Semantic roles & 50–950 ramp

primary
#82871F
secondary
#4F4AB8
accent
#42E64A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #82871F

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

Preview Lab → · Contrast checker → · Palette generator →

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