#84971A#84971A

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

Color values

HEX#84971A
RGBrgb(132, 151, 26)
HSLhsl(69, 71%, 35%)
HSVhsv(69, 83%, 59%)
CMYKcmyk(12.6%, 0%, 82.8%, 40.8%)
CIE-LABlab(59.08, -22.46, 57.28)
CIE-LCHlch(59.08, 61.52, 111.41°)
OKLaboklab(63.96% -0.0677 0.1244)
OKLCHoklch(63.96% 0.142 118.6)
XYZxyz(20.7693, 27.1135, 5.1164)
Luminance0.2711 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84971A #2D1A97
analogous
#976C1A #84971A #46971A
triadic
#84971A #1A8497 #971A84
tetradic
#84971A #1A976C #2D1A97 #971A46
square
#84971A #1A976C #2D1A97 #971A46
split-complementary
#84971A #1A4697 #6C1A97
monochromatic
#292F08 #566311 #84971A #B2CB23 #C9E04B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##84971A#FFFFFF#000000##000000
##84971A1.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)
#9F8F27
Tritanopia (blue-blind)
#8C8E81
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #84971a;
/* rgb */ color: rgb(132, 151, 26);
/* oklch */ color: oklch(64.0% 0.142 118.6);
Tailwind
colors: {
  custom: {
    50: '#abb564',
    500: '#84971a',
    950: '#000000',
  },
}
SCSS
$custom: #84971a;
$custom-light: #abb564;
$custom-dark: #000000;
JSON
{
  "hex": "#84971a",
  "rgb": {
    "r": 132,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 69.12,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63958,
    "c": 0.14166,
    "h": 118.6
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

primary
#84971A
secondary
#5D4BC2
accent
#3AED56
background
#FAFBF6
surface
#F5F6EB
border
#CFD0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #84971A

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

Preview Lab → · Contrast checker → · Palette generator →

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