#979916#979916

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

Color values

HEX#979916
RGBrgb(151, 153, 22)
HSLhsl(61, 75%, 34%)
HSVhsv(61, 86%, 60%)
CMYKcmyk(1.3%, 0%, 85.6%, 40%)
CIE-LABlab(61.15, -15.21, 60.65)
CIE-LCHlch(61.15, 62.53, 104.08°)
OKLaboklab(65.99% -0.049 0.1302)
OKLCHoklch(65.99% 0.139 110.6)
XYZxyz(24.2995, 29.4204, 5.1576)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979916 #181699
analogous
#995A16 #979916 #569916
triadic
#979916 #169799 #991697
tetradic
#979916 #16995A #181699 #991656
square
#979916 #16995A #181699 #991656
split-complementary
#979916 #165699 #5A1699
monochromatic
#2D2E07 #62630E #979916 #CCCF1E #E2E445

Accessibility & contrast

On white

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

On black

6.88
#979916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979916
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979916#FFFFFF#000000##000000
##9799161.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979916;
/* rgb */ color: rgb(151, 153, 22);
/* oklch */ color: oklch(66.0% 0.139 110.6);
Tailwind
colors: {
  custom: {
    50: '#bab663',
    500: '#979916',
    950: '#000000',
  },
}
SCSS
$custom: #979916;
$custom-light: #bab663;
$custom-dark: #000000;
JSON
{
  "hex": "#979916",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 22
  },
  "hsl": {
    "h": 60.916,
    "s": 74.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.65989,
    "c": 0.13912,
    "h": 110.6
  },
  "luminance": 0.2942
}

Semantic roles & 50–950 ramp

primary
#979916
secondary
#4846C5
accent
#36F139
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #979916

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

Preview Lab → · Contrast checker → · Palette generator →

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