#979322#979322

#979322 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.7% C 0.128 H 107.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#979322
RGBrgb(151, 147, 34)
HSLhsl(58, 63%, 36%)
HSVhsv(58, 77%, 59%)
CMYKcmyk(0%, 2.6%, 77.5%, 40.8%)
CIE-LABlab(59.49, -11.64, 55.80)
CIE-LCHlch(59.49, 57.00, 101.78°)
OKLaboklab(64.68% -0.0382 0.122)
OKLCHoklch(64.68% 0.128 107.4)
XYZxyz(23.4859, 27.5631, 5.5961)
Luminance0.2756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979322 #222697
analogous
#975922 #979322 #619722
triadic
#979322 #229793 #932297
tetradic
#979322 #229759 #222697 #972261
square
#979322 #229759 #222697 #972261
split-complementary
#979322 #226197 #592297
monochromatic
#33320C #656217 #979322 #C9C42D #DAD55A

Accessibility & contrast

On white

3.22
#979322 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#979322 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979322
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979322#FFFFFF#000000##000000
##9793221.003.226.516.51
#FFFFFF3.221.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D05
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#A2897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979322;
/* rgb */ color: rgb(151, 147, 34);
/* oklch */ color: oklch(64.7% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#b9b267',
    500: '#979322',
    950: '#000000',
  },
}
SCSS
$custom: #979322;
$custom-light: #b9b267;
$custom-dark: #000000;
JSON
{
  "hex": "#979322",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 57.949,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6468,
    "c": 0.12781,
    "h": 107.4
  },
  "luminance": 0.27562
}

Semantic roles & 50–950 ramp

primary
#979322
secondary
#575ABE
accent
#47E642
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #979322

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

Preview Lab → · Contrast checker → · Palette generator →

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