#979A22#979A22

#979A22 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.135 H 111.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979A22
RGBrgb(151, 154, 34)
HSLhsl(62, 64%, 37%)
HSVhsv(62, 78%, 60%)
CMYKcmyk(1.9%, 0%, 77.9%, 39.6%)
CIE-LABlab(61.49, -15.32, 57.62)
CIE-LCHlch(61.49, 59.62, 104.89°)
OKLaboklab(66.27% -0.0484 0.1259)
OKLCHoklch(66.27% 0.135 111.1)
XYZxyz(24.6077, 29.8067, 5.9701)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A22 #25229A
analogous
#9A6122 #979A22 #5B9A22
triadic
#979A22 #22979A #9A2297
tetradic
#979A22 #229A61 #25229A #9A225B
square
#979A22 #229A61 #25229A #9A225B
split-complementary
#979A22 #225B9A #61229A
monochromatic
#35360C #666817 #979A22 #C8CC2D #D8DB5B

Accessibility & contrast

On white

3.02
#979A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A22
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A22#FFFFFF#000000##000000
##979A221.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962D
Tritanopia (blue-blind)
#A29084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979a22;
/* rgb */ color: rgb(151, 154, 34);
/* oklch */ color: oklch(66.3% 0.135 111.1);
Tailwind
colors: {
  custom: {
    50: '#b9b768',
    500: '#979a22',
    950: '#000000',
  },
}
SCSS
$custom: #979a22;
$custom-light: #b9b768;
$custom-dark: #000000;
JSON
{
  "hex": "#979a22",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 61.5,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66274,
    "c": 0.13485,
    "h": 111.1
  },
  "luminance": 0.29806
}

Semantic roles & 50–950 ramp

primary
#979A22
secondary
#5B58BF
accent
#41E745
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979A22

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

Preview Lab → · Contrast checker → · Palette generator →

#979A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva