#979920#979920

#979920 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.0% C 0.135 H 110.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#979920
RGBrgb(151, 153, 32)
HSLhsl(61, 65%, 36%)
HSVhsv(61, 79%, 60%)
CMYKcmyk(1.3%, 0%, 79.1%, 40%)
CIE-LABlab(61.19, -14.88, 57.98)
CIE-LCHlch(61.19, 59.85, 104.39°)
OKLaboklab(66.03% -0.0474 0.1262)
OKLCHoklch(66.03% 0.135 110.6)
XYZxyz(24.4153, 29.4668, 5.7678)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979920 #222099
analogous
#995F20 #979920 #5B9920
triadic
#979920 #209799 #992097
tetradic
#979920 #20995F #222099 #99205B
square
#979920 #20995F #222099 #99205B
split-complementary
#979920 #205B99 #5F2099
monochromatic
#33340B #656615 #979920 #C9CC2B #DADC57

Accessibility & contrast

On white

3.05
#979920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#979920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979920
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979920#FFFFFF#000000##000000
##9799201.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#A7952B
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979920;
/* rgb */ color: rgb(151, 153, 32);
/* oklch */ color: oklch(66.0% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b667',
    500: '#979920',
    950: '#000000',
  },
}
SCSS
$custom: #979920;
$custom-light: #b9b667;
$custom-dark: #000000;
JSON
{
  "hex": "#979920",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 60.992,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.66034,
    "c": 0.13484,
    "h": 110.6
  },
  "luminance": 0.29466
}

Semantic roles & 50–950 ramp

primary
#979920
secondary
#5755C0
accent
#3FE842
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979920

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

Preview Lab → · Contrast checker → · Palette generator →

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