#84971B#84971B

#84971B is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.0% C 0.141 H 118.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#84971B
RGBrgb(132, 151, 27)
HSLhsl(69, 70%, 35%)
HSVhsv(69, 82%, 59%)
CMYKcmyk(12.6%, 0%, 82.1%, 40.8%)
CIE-LABlab(59.08, -22.42, 57.00)
CIE-LCHlch(59.08, 61.25, 111.47°)
OKLaboklab(63.96% -0.0676 0.124)
OKLCHoklch(63.96% 0.141 118.6)
XYZxyz(20.7807, 27.1181, 5.1763)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84971B #2E1B97
analogous
#976C1B #84971B #46971B
triadic
#84971B #1B8497 #971B84
tetradic
#84971B #1B976C #2E1B97 #971B46
square
#84971B #1B976C #2E1B97 #971B46
split-complementary
#84971B #1B4697 #6C1B97
monochromatic
#292F08 #576312 #84971B #B1CB24 #C9DF4D

Accessibility & contrast

On white

3.27
#84971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#84971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84971B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84971B#FFFFFF#000000##000000
##84971B1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9F8F28
Tritanopia (blue-blind)
#8C8E81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #84971b;
/* rgb */ color: rgb(132, 151, 27);
/* oklch */ color: oklch(64.0% 0.141 118.6);
Tailwind
colors: {
  custom: {
    50: '#abb564',
    500: '#84971b',
    950: '#000000',
  },
}
SCSS
$custom: #84971b;
$custom-light: #abb564;
$custom-dark: #000000;
JSON
{
  "hex": "#84971b",
  "rgb": {
    "r": 132,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 69.194,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63963,
    "c": 0.14122,
    "h": 118.6
  },
  "luminance": 0.27118
}

Semantic roles & 50–950 ramp

primary
#84971B
secondary
#5E4CC1
accent
#3BEC56
background
#FAFBF6
surface
#F5F6EB
border
#CFD0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #84971B

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

Preview Lab → · Contrast checker → · Palette generator →

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