#84871C#84871C

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

Color values

HEX#84871C
RGBrgb(132, 135, 28)
HSLhsl(62, 66%, 32%)
HSVhsv(62, 79%, 53%)
CMYKcmyk(2.2%, 0%, 79.3%, 47.1%)
CIE-LABlab(54.36, -14.10, 52.49)
CIE-LCHlch(54.36, 54.35, 105.03°)
OKLaboklab(60.17% -0.0445 0.1145)
OKLCHoklch(60.17% 0.123 111.2)
XYZxyz(18.3899, 22.3178, 4.4374)
Luminance0.2232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84871C #1F1C87
analogous
#87551C #84871C #4F871C
triadic
#84871C #1C8487 #871C84
tetradic
#84871C #1C8755 #1F1C87 #871C4F
square
#84871C #1C8755 #1F1C87 #871C4F
split-complementary
#84871C #1C4F87 #551C87
monochromatic
#212207 #525411 #84871C #B6BA27 #D4D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##84871C#FFFFFF#000000##000000
##84871C1.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: #84871c;
/* rgb */ color: rgb(132, 135, 28);
/* oklch */ color: oklch(60.2% 0.123 111.2);
Tailwind
colors: {
  custom: {
    50: '#aba962',
    500: '#84871c',
    950: '#000000',
  },
}
SCSS
$custom: #84871c;
$custom-light: #aba962;
$custom-dark: #000000;
JSON
{
  "hex": "#84871c",
  "rgb": {
    "r": 132,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 61.682,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.60174,
    "c": 0.12289,
    "h": 111.2
  },
  "luminance": 0.22317
}

Semantic roles & 50–950 ramp

primary
#84871C
secondary
#4845BA
accent
#3FE944
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#100F06
muted
#7F7F7A

Preview Lab

Preview with #84871C

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

Preview Lab → · Contrast checker → · Palette generator →

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