#979422#979422

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

Color values

HEX#979422
RGBrgb(151, 148, 34)
HSLhsl(58, 63%, 36%)
HSVhsv(58, 77%, 59%)
CMYKcmyk(0%, 2%, 77.5%, 40.8%)
CIE-LABlab(59.78, -12.17, 56.06)
CIE-LCHlch(59.78, 57.36, 102.25°)
OKLaboklab(64.91% -0.0397 0.1225)
OKLCHoklch(64.91% 0.129 107.9)
XYZxyz(23.6421, 27.8754, 5.6482)
Luminance0.2787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979422 #222597
analogous
#975A22 #979422 #609722
triadic
#979422 #229794 #942297
tetradic
#979422 #22975A #222597 #972260
square
#979422 #22975A #222597 #972260
split-complementary
#979422 #226097 #5A2297
monochromatic
#33320C #656317 #979422 #C9C52D #DAD65A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979422#FFFFFF#000000##000000
##9794221.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)
#A18E05
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979422;
/* rgb */ color: rgb(151, 148, 34);
/* oklch */ color: oklch(64.9% 0.129 107.9);
Tailwind
colors: {
  custom: {
    50: '#b9b367',
    500: '#979422',
    950: '#000000',
  },
}
SCSS
$custom: #979422;
$custom-light: #b9b367;
$custom-dark: #000000;
JSON
{
  "hex": "#979422",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 58.462,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64907,
    "c": 0.12878,
    "h": 107.9
  },
  "luminance": 0.27875
}

Semantic roles & 50–950 ramp

primary
#979422
secondary
#5759BE
accent
#46E642
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #979422

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

Preview Lab → · Contrast checker → · Palette generator →

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