#979620#979620

#979620 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.3% C 0.132 H 109.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#979620
RGBrgb(151, 150, 32)
HSLhsl(59, 65%, 36%)
HSVhsv(59, 79%, 59%)
CMYKcmyk(0%, 0.7%, 78.8%, 40.8%)
CIE-LABlab(60.34, -13.31, 57.21)
CIE-LCHlch(60.34, 58.74, 103.09°)
OKLaboklab(65.35% -0.043 0.1246)
OKLCHoklch(65.35% 0.132 109)
XYZxyz(23.9305, 28.4970, 5.6061)
Luminance0.2850 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979620 #202197
analogous
#975A20 #979620 #5C9720
triadic
#979620 #209796 #962097
tetradic
#979620 #20975A #202197 #97205C
square
#979620 #20975A #202197 #97205C
split-complementary
#979620 #205C97 #5A2097
monochromatic
#32320B #646415 #979620 #C9C82B #DBDA56

Accessibility & contrast

On white

3.13
#979620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#979620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979620
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979620#FFFFFF#000000##000000
##9796201.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#A28C80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979620;
/* rgb */ color: rgb(151, 150, 32);
/* oklch */ color: oklch(65.3% 0.132 109.0);
Tailwind
colors: {
  custom: {
    50: '#b9b467',
    500: '#979620',
    950: '#000000',
  },
}
SCSS
$custom: #979620;
$custom-light: #b9b467;
$custom-dark: #000000;
JSON
{
  "hex": "#979620",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 59.496,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.6535,
    "c": 0.13181,
    "h": 109
  },
  "luminance": 0.28496
}

Semantic roles & 50–950 ramp

primary
#979620
secondary
#5455BF
accent
#41E840
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979620

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

Preview Lab → · Contrast checker → · Palette generator →

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