#84971F#84971F

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

Color values

HEX#84971F
RGBrgb(132, 151, 31)
HSLhsl(70, 66%, 36%)
HSVhsv(70, 79%, 59%)
CMYKcmyk(12.6%, 0%, 79.5%, 40.8%)
CIE-LABlab(59.10, -22.26, 55.84)
CIE-LCHlch(59.10, 60.11, 111.73°)
OKLaboklab(63.98% -0.0668 0.1222)
OKLCHoklch(63.98% 0.139 118.7)
XYZxyz(20.8301, 27.1378, 5.4368)
Luminance0.2714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84971F #321F97
analogous
#976E1F #84971F #48971F
triadic
#84971F #1F8497 #971F84
tetradic
#84971F #1F976E #321F97 #971F48
square
#84971F #1F976E #321F97 #971F48
split-complementary
#84971F #1F4897 #6E1F97
monochromatic
#2B310A #586415 #84971F #B0CA29 #C7DC54

Accessibility & contrast

On white

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

On black

6.43
#84971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #84971F
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84971F#FFFFFF#000000##000000
##84971F1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #84971f;
/* rgb */ color: rgb(132, 151, 31);
/* oklch */ color: oklch(64.0% 0.139 118.7);
Tailwind
colors: {
  custom: {
    50: '#abb566',
    500: '#84971f',
    950: '#000000',
  },
}
SCSS
$custom: #84971f;
$custom-light: #abb566;
$custom-dark: #000000;
JSON
{
  "hex": "#84971f",
  "rgb": {
    "r": 132,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 69.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63983,
    "c": 0.1393,
    "h": 118.7
  },
  "luminance": 0.27138
}

Semantic roles & 50–950 ramp

primary
#84971F
secondary
#6452BF
accent
#3FE95A
background
#FAFBF6
surface
#F5F6EB
border
#CFD0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #84971F

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

Preview Lab → · Contrast checker → · Palette generator →

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