#84871D#84871D

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

Color values

HEX#84871D
RGBrgb(132, 135, 29)
HSLhsl(62, 65%, 32%)
HSVhsv(62, 79%, 53%)
CMYKcmyk(2.2%, 0%, 78.5%, 47.1%)
CIE-LABlab(54.37, -14.05, 52.17)
CIE-LCHlch(54.37, 54.03, 105.08°)
OKLaboklab(60.18% -0.0443 0.1141)
OKLCHoklch(60.18% 0.122 111.2)
XYZxyz(18.4021, 22.3227, 4.5015)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84871D #201D87
analogous
#87551D #84871D #4F871D
triadic
#84871D #1D8487 #871D84
tetradic
#84871D #1D8755 #201D87 #871D4F
square
#84871D #1D8755 #201D87 #871D4F
split-complementary
#84871D #1D4F87 #551D87
monochromatic
#212207 #535512 #84871D #B5B928 #D3D747

Accessibility & contrast

On white

3.84
#84871D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##84871D#FFFFFF#000000##000000
##84871D1.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #84871d;
/* rgb */ color: rgb(132, 135, 29);
/* oklch */ color: oklch(60.2% 0.122 111.2);
Tailwind
colors: {
  custom: {
    50: '#aba963',
    500: '#84871d',
    950: '#000000',
  },
}
SCSS
$custom: #84871d;
$custom-light: #aba963;
$custom-dark: #000000;
JSON
{
  "hex": "#84871d",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 61.698,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6018,
    "c": 0.12236,
    "h": 111.2
  },
  "luminance": 0.22322
}

Semantic roles & 50–950 ramp

primary
#84871D
secondary
#4A46B9
accent
#40E845
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #84871D

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

Preview Lab → · Contrast checker → · Palette generator →

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