#979C22#979C22

#979C22 is a light, vivid yellow. Relative luminance 0.305; OKLCH L 66.7% C 0.137 H 112.0°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#979C22
RGBrgb(151, 156, 34)
HSLhsl(62, 64%, 37%)
HSVhsv(62, 78%, 61%)
CMYKcmyk(3.2%, 0%, 78.2%, 38.8%)
CIE-LABlab(62.06, -16.36, 58.14)
CIE-LCHlch(62.06, 60.40, 105.72°)
OKLaboklab(66.73% -0.0513 0.127)
OKLCHoklch(66.73% 0.137 112)
XYZxyz(24.9405, 30.4724, 6.0810)
Luminance0.3047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C22 #27229C
analogous
#9C6422 #979C22 #5A9C22
triadic
#979C22 #22979C #9C2297
tetradic
#979C22 #229C64 #27229C #9C225A
square
#979C22 #229C64 #27229C #9C225A
split-complementary
#979C22 #225A9C #64229C
monochromatic
#36380C #666A17 #979C22 #C8CE2D #D6DC5D

Accessibility & contrast

On white

2.96
#979C22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#979C22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C22
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C22#FFFFFF#000000##000000
##979C221.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89500
Deuteranopia (green-blind)
#A9972D
Tritanopia (blue-blind)
#A29285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c22;
/* rgb */ color: rgb(151, 156, 34);
/* oklch */ color: oklch(66.7% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#b9b968',
    500: '#979c22',
    950: '#000000',
  },
}
SCSS
$custom: #979c22;
$custom-light: #b9b968;
$custom-dark: #000000;
JSON
{
  "hex": "#979c22",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 62.459,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66732,
    "c": 0.13694,
    "h": 112
  },
  "luminance": 0.30472
}

Semantic roles & 50–950 ramp

primary
#979C22
secondary
#5E5AC0
accent
#41E747
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979C22

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

Preview Lab → · Contrast checker → · Palette generator →

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