#84872D#84872D

#84872D is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.3% C 0.112 H 111.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#84872D
RGBrgb(132, 135, 45)
HSLhsl(62, 50%, 35%)
HSVhsv(62, 67%, 53%)
CMYKcmyk(2.2%, 0%, 66.7%, 47.1%)
CIE-LABlab(54.47, -13.20, 46.13)
CIE-LCHlch(54.47, 47.98, 105.96°)
OKLaboklab(60.3% -0.0403 0.1042)
OKLCHoklch(60.3% 0.112 111.2)
XYZxyz(18.6539, 22.4234, 5.8276)
Luminance0.2242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84872D #302D87
analogous
#875D2D #84872D #57872D
triadic
#84872D #2D8487 #872D84
tetradic
#84872D #2D875D #302D87 #872D57
square
#84872D #2D875D #302D87 #872D57
split-complementary
#84872D #2D5787 #5D2D87
monochromatic
#2A2B0E #57591E #84872D #B1B53C #C8CB63

Accessibility & contrast

On white

3.83
#84872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#84872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84872D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84872D#FFFFFF#000000##000000
##84872D1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#918121
Deuteranopia (green-blind)
#928333
Tritanopia (blue-blind)
#8D7F75
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #84872d;
/* rgb */ color: rgb(132, 135, 45);
/* oklch */ color: oklch(60.3% 0.112 111.2);
Tailwind
colors: {
  custom: {
    50: '#aaa96b',
    500: '#84872d',
    950: '#000000',
  },
}
SCSS
$custom: #84872d;
$custom-light: #aaa96b;
$custom-dark: #000000;
JSON
{
  "hex": "#84872d",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 62,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60298,
    "c": 0.11174,
    "h": 111.2
  },
  "luminance": 0.22423
}

Semantic roles & 50–950 ramp

primary
#84872D
secondary
#615EB2
accent
#4EDA53
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F07
muted
#7F7F7A

Preview Lab

Preview with #84872D

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

Preview Lab → · Contrast checker → · Palette generator →

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