#979522#979522

#979522 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.1% C 0.130 H 108.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#979522
RGBrgb(151, 149, 34)
HSLhsl(59, 63%, 36%)
HSVhsv(59, 77%, 59%)
CMYKcmyk(0%, 1.3%, 77.5%, 40.8%)
CIE-LABlab(60.06, -12.70, 56.32)
CIE-LCHlch(60.06, 57.73, 102.71°)
OKLaboklab(65.13% -0.0411 0.1231)
OKLCHoklch(65.13% 0.13 108.5)
XYZxyz(23.7996, 28.1905, 5.7007)
Luminance0.2819 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979522 #222497
analogous
#975B22 #979522 #5F9722
triadic
#979522 #229795 #952297
tetradic
#979522 #22975B #222497 #97225F
square
#979522 #22975B #222497 #97225F
split-complementary
#979522 #225F97 #5B2297
monochromatic
#33320C #656417 #979522 #C9C62D #DAD85A

Accessibility & contrast

On white

3.16
#979522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#979522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979522
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979522#FFFFFF#000000##000000
##9795221.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979522;
/* rgb */ color: rgb(151, 149, 34);
/* oklch */ color: oklch(65.1% 0.130 108.5);
Tailwind
colors: {
  custom: {
    50: '#b9b367',
    500: '#979522',
    950: '#000000',
  },
}
SCSS
$custom: #979522;
$custom-light: #b9b367;
$custom-dark: #000000;
JSON
{
  "hex": "#979522",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 58.974,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.65134,
    "c": 0.12977,
    "h": 108.5
  },
  "luminance": 0.2819
}

Semantic roles & 50–950 ramp

primary
#979522
secondary
#5759BE
accent
#44E642
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979522

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

Preview Lab → · Contrast checker → · Palette generator →

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