#979421#979421

#979421 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.9% C 0.129 H 108.0°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#979421
RGBrgb(151, 148, 33)
HSLhsl(58, 64%, 36%)
HSVhsv(58, 78%, 59%)
CMYKcmyk(0%, 2%, 78.1%, 40.8%)
CIE-LABlab(59.77, -12.21, 56.38)
CIE-LCHlch(59.77, 57.69, 102.22°)
OKLaboklab(64.9% -0.0399 0.123)
OKLCHoklch(64.9% 0.129 108)
XYZxyz(23.6279, 27.8697, 5.5733)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979421 #212497
analogous
#975921 #979421 #5F9721
triadic
#979421 #219794 #942197
tetradic
#979421 #219759 #212497 #97215F
square
#979421 #219759 #212497 #97215F
split-complementary
#979421 #215F97 #592197
monochromatic
#33320B #656316 #979421 #C9C52C #DAD758

Accessibility & contrast

On white

3.19
#979421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#979421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979421
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979421#FFFFFF#000000##000000
##9794211.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E02
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979421;
/* rgb */ color: rgb(151, 148, 33);
/* oklch */ color: oklch(64.9% 0.129 108.0);
Tailwind
colors: {
  custom: {
    50: '#b9b367',
    500: '#979421',
    950: '#000000',
  },
}
SCSS
$custom: #979421;
$custom-light: #b9b367;
$custom-dark: #000000;
JSON
{
  "hex": "#979421",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 33
  },
  "hsl": {
    "h": 58.475,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64901,
    "c": 0.12932,
    "h": 108
  },
  "luminance": 0.27869
}

Semantic roles & 50–950 ramp

primary
#979421
secondary
#5558BE
accent
#45E741
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #979421

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

Preview Lab → · Contrast checker → · Palette generator →

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