#979720#979720

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

Color values

HEX#979720
RGBrgb(151, 151, 32)
HSLhsl(60, 65%, 36%)
HSVhsv(60, 79%, 59%)
CMYKcmyk(0%, 0%, 78.8%, 40.8%)
CIE-LABlab(60.62, -13.83, 57.46)
CIE-LCHlch(60.62, 59.11, 103.53°)
OKLaboklab(65.58% -0.0445 0.1251)
OKLCHoklch(65.58% 0.133 109.6)
XYZxyz(24.0907, 28.8176, 5.6596)
Luminance0.2882 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979720 #202097
analogous
#975B20 #979720 #5B9720
triadic
#979720 #209797 #972097
tetradic
#979720 #20975B #202097 #97205B
square
#979720 #20975B #202097 #97205B
split-complementary
#979720 #205B97 #5B2097
monochromatic
#32320B #646415 #979720 #C9C92B #DBDB56

Accessibility & contrast

On white

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

On black

6.76
#979720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979720
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979720#FFFFFF#000000##000000
##9797201.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979720;
/* rgb */ color: rgb(151, 151, 32);
/* oklch */ color: oklch(65.6% 0.133 109.6);
Tailwind
colors: {
  custom: {
    50: '#b9b567',
    500: '#979720',
    950: '#000000',
  },
}
SCSS
$custom: #979720;
$custom-light: #b9b567;
$custom-dark: #000000;
JSON
{
  "hex": "#979720",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65578,
    "c": 0.13281,
    "h": 109.6
  },
  "luminance": 0.28817
}

Semantic roles & 50–950 ramp

primary
#979720
secondary
#5454BF
accent
#40E840
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979720

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

Preview Lab → · Contrast checker → · Palette generator →

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