#84871B#84871B

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

Color values

HEX#84871B
RGBrgb(132, 135, 27)
HSLhsl(62, 67%, 32%)
HSVhsv(62, 80%, 53%)
CMYKcmyk(2.2%, 0%, 80%, 47.1%)
CIE-LABlab(54.36, -14.14, 52.80)
CIE-LCHlch(54.36, 54.66, 104.99°)
OKLaboklab(60.17% -0.0447 0.115)
OKLCHoklch(60.17% 0.123 111.3)
XYZxyz(18.3782, 22.3131, 4.3754)
Luminance0.2231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84871B #1E1B87
analogous
#87541B #84871B #4E871B
triadic
#84871B #1B8487 #871B84
tetradic
#84871B #1B8754 #1E1B87 #871B4E
square
#84871B #1B8754 #1E1B87 #871B4E
split-complementary
#84871B #1B4E87 #541B87
monochromatic
#202107 #525411 #84871B #B6BA25 #D5D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##84871B#FFFFFF#000000##000000
##84871B1.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)
#928100
Deuteranopia (green-blind)
#938325
Tritanopia (blue-blind)
#8E7E73
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #84871b;
/* rgb */ color: rgb(132, 135, 27);
/* oklch */ color: oklch(60.2% 0.123 111.3);
Tailwind
colors: {
  custom: {
    50: '#aba962',
    500: '#84871b',
    950: '#000000',
  },
}
SCSS
$custom: #84871b;
$custom-light: #aba962;
$custom-dark: #000000;
JSON
{
  "hex": "#84871b",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 61.667,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.60169,
    "c": 0.12341,
    "h": 111.3
  },
  "luminance": 0.22313
}

Semantic roles & 50–950 ramp

primary
#84871B
secondary
#4744BA
accent
#3EEA43
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #84871B

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

Preview Lab → · Contrast checker → · Palette generator →

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