#84851B#84851B

#84851B is a mid, vivid yellow. Relative luminance 0.218; OKLCH L 59.7% C 0.121 H 110.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#84851B
RGBrgb(132, 133, 27)
HSLhsl(61, 66%, 31%)
HSVhsv(61, 80%, 52%)
CMYKcmyk(0.8%, 0%, 79.7%, 47.8%)
CIE-LABlab(53.77, -13.07, 52.28)
CIE-LCHlch(53.77, 53.88, 104.04°)
OKLaboklab(59.7% -0.0418 0.1139)
OKLCHoklch(59.7% 0.121 110.1)
XYZxyz(18.1018, 21.7603, 4.2833)
Luminance0.2176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84851B #1C1B85
analogous
#85511B #84851B #4F851B
triadic
#84851B #1B8485 #851B84
tetradic
#84851B #1B8551 #1C1B85 #851B4F
square
#84851B #1B8551 #1C1B85 #851B4F
split-complementary
#84851B #1B4F85 #511B85
monochromatic
#1F1F06 #525211 #84851B #B6B825 #D7D942

Accessibility & contrast

On white

3.92
#84851B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#84851B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84851B
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84851B#FFFFFF#000000##000000
##84851B1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#918224
Tritanopia (blue-blind)
#8E7C71
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #84851b;
/* rgb */ color: rgb(132, 133, 27);
/* oklch */ color: oklch(59.7% 0.121 110.1);
Tailwind
colors: {
  custom: {
    50: '#aba862',
    500: '#84851b',
    950: '#000000',
  },
}
SCSS
$custom: #84851b;
$custom-light: #aba862;
$custom-dark: #000000;
JSON
{
  "hex": "#84851b",
  "rgb": {
    "r": 132,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 60.566,
    "s": 66.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.597,
    "c": 0.12131,
    "h": 110.1
  },
  "luminance": 0.2176
}

Semantic roles & 50–950 ramp

primary
#84851B
secondary
#4544B8
accent
#3FE940
background
#FAFAF6
surface
#F5F4EB
border
#CFCEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #84851B

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

Preview Lab → · Contrast checker → · Palette generator →

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