#979921#979921

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

Color values

HEX#979921
RGBrgb(151, 153, 33)
HSLhsl(61, 65%, 36%)
HSVhsv(61, 78%, 60%)
CMYKcmyk(1.3%, 0%, 78.4%, 40%)
CIE-LABlab(61.20, -14.84, 57.67)
CIE-LCHlch(61.20, 59.55, 104.43°)
OKLaboklab(66.04% -0.0472 0.1258)
OKLCHoklch(66.04% 0.134 110.6)
XYZxyz(24.4291, 29.4723, 5.8404)
Luminance0.2947 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979921 #232199
analogous
#995F21 #979921 #5B9921
triadic
#979921 #219799 #992197
tetradic
#979921 #21995F #232199 #99215B
square
#979921 #21995F #232199 #99215B
split-complementary
#979921 #215B99 #5F2199
monochromatic
#34340B #656716 #979921 #C9CB2C #D9DB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979921#FFFFFF#000000##000000
##9799211.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)
#A7952C
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979921;
/* rgb */ color: rgb(151, 153, 33);
/* oklch */ color: oklch(66.0% 0.134 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b667',
    500: '#979921',
    950: '#000000',
  },
}
SCSS
$custom: #979921;
$custom-light: #b9b667;
$custom-dark: #000000;
JSON
{
  "hex": "#979921",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 61,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6604,
    "c": 0.13433,
    "h": 110.6
  },
  "luminance": 0.29472
}

Semantic roles & 50–950 ramp

primary
#979921
secondary
#5856BF
accent
#40E843
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979921

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

Preview Lab → · Contrast checker → · Palette generator →

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