#84871A#84871A

#84871A is a mid, vivid yellow. Relative luminance 0.223; OKLCH L 60.2% C 0.124 H 111.3°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#84871A
RGBrgb(132, 135, 26)
HSLhsl(62, 68%, 32%)
HSVhsv(62, 81%, 53%)
CMYKcmyk(2.2%, 0%, 80.7%, 47.1%)
CIE-LABlab(54.35, -14.18, 53.11)
CIE-LCHlch(54.35, 54.97, 104.95°)
OKLaboklab(60.16% -0.0449 0.1155)
OKLCHoklch(60.16% 0.124 111.3)
XYZxyz(18.3668, 22.3086, 4.3156)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84871A #1D1A87
analogous
#87541A #84871A #4E871A
triadic
#84871A #1A8487 #871A84
tetradic
#84871A #1A8754 #1D1A87 #871A4E
square
#84871A #1A8754 #1D1A87 #871A4E
split-complementary
#84871A #1A4E87 #541A87
monochromatic
#202006 #525410 #84871A #B6BA24 #D6DA41

Accessibility & contrast

On white

3.85
#84871A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#84871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84871A
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84871A#FFFFFF#000000##000000
##84871A1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#938324
Tritanopia (blue-blind)
#8E7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #84871a;
/* rgb */ color: rgb(132, 135, 26);
/* oklch */ color: oklch(60.2% 0.124 111.3);
Tailwind
colors: {
  custom: {
    50: '#aba961',
    500: '#84871a',
    950: '#000000',
  },
}
SCSS
$custom: #84871a;
$custom-light: #aba961;
$custom-dark: #000000;
JSON
{
  "hex": "#84871a",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 61.651,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.12391,
    "h": 111.3
  },
  "luminance": 0.22308
}

Semantic roles & 50–950 ramp

primary
#84871A
secondary
#4642BA
accent
#3DEB42
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #84871A

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

Preview Lab → · Contrast checker → · Palette generator →

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