#979722#979722

#979722 is a light, vivid yellow. Relative luminance 0.288; OKLCH L 65.6% C 0.132 H 109.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#979722
RGBrgb(151, 151, 34)
HSLhsl(60, 63%, 36%)
HSVhsv(60, 77%, 59%)
CMYKcmyk(0%, 0%, 77.5%, 40.8%)
CIE-LABlab(60.63, -13.75, 56.84)
CIE-LCHlch(60.63, 58.48, 103.60°)
OKLaboklab(65.59% -0.0441 0.1242)
OKLCHoklch(65.59% 0.132 109.5)
XYZxyz(24.1187, 28.8288, 5.8071)
Luminance0.2883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979722 #222297
analogous
#975D22 #979722 #5D9722
triadic
#979722 #229797 #972297
tetradic
#979722 #22975D #222297 #97225D
square
#979722 #22975D #222297 #97225D
split-complementary
#979722 #225D97 #5D2297
monochromatic
#33330C #656517 #979722 #C9C92D #DADA5A

Accessibility & contrast

On white

3.10
#979722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#979722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979722
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979722#FFFFFF#000000##000000
##9797221.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49002
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A28D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979722;
/* rgb */ color: rgb(151, 151, 34);
/* oklch */ color: oklch(65.6% 0.132 109.5);
Tailwind
colors: {
  custom: {
    50: '#b9b568',
    500: '#979722',
    950: '#000000',
  },
}
SCSS
$custom: #979722;
$custom-light: #b9b568;
$custom-dark: #000000;
JSON
{
  "hex": "#979722",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65589,
    "c": 0.13178,
    "h": 109.5
  },
  "luminance": 0.28828
}

Semantic roles & 50–950 ramp

primary
#979722
secondary
#5757BE
accent
#42E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979722

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

Preview Lab → · Contrast checker → · Palette generator →

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