#979022#979022

#979022 is a light, vivid yellow. Relative luminance 0.266; OKLCH L 64.0% C 0.125 H 105.6°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#979022
RGBrgb(151, 144, 34)
HSLhsl(56, 63%, 36%)
HSVhsv(56, 77%, 59%)
CMYKcmyk(0%, 4.6%, 77.5%, 40.8%)
CIE-LABlab(58.64, -10.04, 55.02)
CIE-LCHlch(58.64, 55.93, 100.34°)
OKLaboklab(64% -0.0337 0.1203)
OKLCHoklch(64% 0.125 105.6)
XYZxyz(23.0255, 26.6422, 5.4427)
Luminance0.2664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979022 #222997
analogous
#975622 #979022 #649722
triadic
#979022 #229790 #902297
tetradic
#979022 #229756 #222997 #972264
square
#979022 #229756 #222997 #972264
split-complementary
#979022 #226497 #562297
monochromatic
#33310C #656017 #979022 #C9C02D #DAD25A

Accessibility & contrast

On white

3.32
#979022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#979022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979022
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979022#FFFFFF#000000##000000
##9790221.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B07
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A3867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #979022;
/* rgb */ color: rgb(151, 144, 34);
/* oklch */ color: oklch(64.0% 0.125 105.6);
Tailwind
colors: {
  custom: {
    50: '#b9b067',
    500: '#979022',
    950: '#000000',
  },
}
SCSS
$custom: #979022;
$custom-light: #b9b067;
$custom-dark: #000000;
JSON
{
  "hex": "#979022",
  "rgb": {
    "r": 151,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 56.41,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64003,
    "c": 0.12494,
    "h": 105.6
  },
  "luminance": 0.26641
}

Semantic roles & 50–950 ramp

primary
#979022
secondary
#575DBE
accent
#4BE642
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #979022

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

Preview Lab → · Contrast checker → · Palette generator →

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