#84871F#84871F

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

Color values

HEX#84871F
RGBrgb(132, 135, 31)
HSLhsl(62, 63%, 33%)
HSVhsv(62, 77%, 53%)
CMYKcmyk(2.2%, 0%, 77%, 47.1%)
CIE-LABlab(54.38, -13.97, 51.50)
CIE-LCHlch(54.38, 53.36, 105.17°)
OKLaboklab(60.19% -0.0439 0.113)
OKLCHoklch(60.19% 0.121 111.2)
XYZxyz(18.4277, 22.3329, 4.6360)
Luminance0.2233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84871F #221F87
analogous
#87561F #84871F #50871F
triadic
#84871F #1F8487 #871F84
tetradic
#84871F #1F8756 #221F87 #871F50
square
#84871F #1F8756 #221F87 #871F50
split-complementary
#84871F #1F5087 #561F87
monochromatic
#232308 #535514 #84871F #B5B92A #D2D64B

Accessibility & contrast

On white

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

On black

5.47
#84871F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84871F
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84871F#FFFFFF#000000##000000
##84871F1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #84871f;
/* rgb */ color: rgb(132, 135, 31);
/* oklch */ color: oklch(60.2% 0.121 111.2);
Tailwind
colors: {
  custom: {
    50: '#aba964',
    500: '#84871f',
    950: '#000000',
  },
}
SCSS
$custom: #84871f;
$custom-light: #aba964;
$custom-dark: #000000;
JSON
{
  "hex": "#84871f",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 61.731,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.60192,
    "c": 0.12125,
    "h": 111.2
  },
  "luminance": 0.22332
}

Semantic roles & 50–950 ramp

primary
#84871F
secondary
#4D4AB8
accent
#42E647
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #84871F

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

Preview Lab → · Contrast checker → · Palette generator →

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