#979220#979220

#979220 is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.4% C 0.128 H 106.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#979220
RGBrgb(151, 146, 32)
HSLhsl(57, 65%, 36%)
HSVhsv(57, 79%, 59%)
CMYKcmyk(0%, 3.3%, 78.8%, 40.8%)
CIE-LABlab(59.20, -11.19, 56.18)
CIE-LCHlch(59.20, 57.29, 101.26°)
OKLaboklab(64.44% -0.0371 0.1224)
OKLCHoklch(64.44% 0.128 106.9)
XYZxyz(23.3031, 27.2422, 5.3970)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979220 #202597
analogous
#975620 #979220 #609720
triadic
#979220 #209792 #922097
tetradic
#979220 #209756 #202597 #972060
square
#979220 #209756 #202597 #972060
split-complementary
#979220 #206097 #562097
monochromatic
#32300B #646115 #979220 #C9C32B #DBD656

Accessibility & contrast

On white

3.26
#979220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#979220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979220
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979220#FFFFFF#000000##000000
##9792201.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C01
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A3887D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #979220;
/* rgb */ color: rgb(151, 146, 32);
/* oklch */ color: oklch(64.4% 0.128 106.9);
Tailwind
colors: {
  custom: {
    50: '#b9b166',
    500: '#979220',
    950: '#000000',
  },
}
SCSS
$custom: #979220;
$custom-light: #b9b166;
$custom-dark: #000000;
JSON
{
  "hex": "#979220",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 57.479,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.64442,
    "c": 0.12791,
    "h": 106.9
  },
  "luminance": 0.27241
}

Semantic roles & 50–950 ramp

primary
#979220
secondary
#5458BF
accent
#47E840
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #979220

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

Preview Lab → · Contrast checker → · Palette generator →

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