#979922#979922

#979922 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.0% C 0.134 H 110.6°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#979922
RGBrgb(151, 153, 34)
HSLhsl(61, 64%, 37%)
HSVhsv(61, 78%, 60%)
CMYKcmyk(1.3%, 0%, 77.8%, 40%)
CIE-LABlab(61.20, -14.80, 57.36)
CIE-LCHlch(61.20, 59.24, 104.47°)
OKLaboklab(66.05% -0.047 0.1253)
OKLCHoklch(66.05% 0.134 110.6)
XYZxyz(24.4433, 29.4780, 5.9153)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979922 #242299
analogous
#996022 #979922 #5C9922
triadic
#979922 #229799 #992297
tetradic
#979922 #229960 #242299 #99225C
square
#979922 #229960 #242299 #99225C
split-complementary
#979922 #225C99 #602299
monochromatic
#34350C #666717 #979922 #C8CB2D #D8DB5B

Accessibility & contrast

On white

3.05
#979922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#979922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979922
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979922#FFFFFF#000000##000000
##9799221.003.056.906.90
#FFFFFF3.051.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69201
Deuteranopia (green-blind)
#A7952C
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979922;
/* rgb */ color: rgb(151, 153, 34);
/* oklch */ color: oklch(66.0% 0.134 110.6);
Tailwind
colors: {
  custom: {
    50: '#b9b668',
    500: '#979922',
    950: '#000000',
  },
}
SCSS
$custom: #979922;
$custom-light: #b9b668;
$custom-dark: #000000;
JSON
{
  "hex": "#979922",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 61.008,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66045,
    "c": 0.13382,
    "h": 110.6
  },
  "luminance": 0.29477
}

Semantic roles & 50–950 ramp

primary
#979922
secondary
#5A58BF
accent
#41E744
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979922

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

Preview Lab → · Contrast checker → · Palette generator →

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