#84971C#84971C

#84971C 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#84971C
RGBrgb(132, 151, 28)
HSLhsl(69, 69%, 35%)
HSVhsv(69, 81%, 59%)
CMYKcmyk(12.6%, 0%, 81.5%, 40.8%)
CIE-LABlab(59.09, -22.38, 56.72)
CIE-LCHlch(59.09, 60.98, 111.53°)
OKLaboklab(63.97% -0.0674 0.1236)
OKLCHoklch(63.97% 0.141 118.6)
XYZxyz(20.7924, 27.1228, 5.2382)
Luminance0.2712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84971C #2F1C97
analogous
#976C1C #84971C #47971C
triadic
#84971C #1C8497 #971C84
tetradic
#84971C #1C976C #2F1C97 #971C47
square
#84971C #1C976C #2F1C97 #971C47
split-complementary
#84971C #1C4797 #6C1C97
monochromatic
#2A3009 #576312 #84971C #B1CB26 #C8DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #84971c;
/* rgb */ color: rgb(132, 151, 28);
/* oklch */ color: oklch(64.0% 0.141 118.6);
Tailwind
colors: {
  custom: {
    50: '#abb565',
    500: '#84971c',
    950: '#000000',
  },
}
SCSS
$custom: #84971c;
$custom-light: #abb565;
$custom-dark: #000000;
JSON
{
  "hex": "#84971c",
  "rgb": {
    "r": 132,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 69.268,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63968,
    "c": 0.14076,
    "h": 118.6
  },
  "luminance": 0.27123
}

Semantic roles & 50–950 ramp

primary
#84971C
secondary
#604EC1
accent
#3CEC57
background
#FAFBF6
surface
#F5F6EB
border
#CFD0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #84971C

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

Preview Lab → · Contrast checker → · Palette generator →

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