#978220#978220

#978220 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.9% C 0.114 H 96.3°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#978220
RGBrgb(151, 130, 32)
HSLhsl(49, 65%, 36%)
HSVhsv(49, 79%, 59%)
CMYKcmyk(0%, 13.9%, 78.8%, 40.8%)
CIE-LABlab(54.71, -2.48, 52.10)
CIE-LCHlch(54.71, 52.16, 92.72°)
OKLaboklab(60.88% -0.0126 0.1137)
OKLCHoklch(60.88% 0.114 96.3)
XYZxyz(21.0070, 22.6500, 4.6316)
Luminance0.2265 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978220 #203597
analogous
#974620 #978220 #709720
triadic
#978220 #209782 #822097
tetradic
#978220 #209746 #203597 #972070
square
#978220 #209746 #203597 #972070
split-complementary
#978220 #207097 #462097
monochromatic
#322B0B #645715 #978220 #C9AD2B #DBC456

Accessibility & contrast

On white

3.80
#978220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#978220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978220
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978220#FFFFFF#000000##000000
##9782201.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0B
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#A4776F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #978220;
/* rgb */ color: rgb(151, 130, 32);
/* oklch */ color: oklch(60.9% 0.114 96.3);
Tailwind
colors: {
  custom: {
    50: '#b9a564',
    500: '#978220',
    950: '#000000',
  },
}
SCSS
$custom: #978220;
$custom-light: #b9a564;
$custom-dark: #000000;
JSON
{
  "hex": "#978220",
  "rgb": {
    "r": 151,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 49.412,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.60877,
    "c": 0.11437,
    "h": 96.3
  },
  "luminance": 0.22649
}

Semantic roles & 50–950 ramp

primary
#978220
secondary
#5467BF
accent
#5DE840
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978220

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

Preview Lab → · Contrast checker → · Palette generator →

#978220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva