#979C33#979C33

#979C33 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.126 H 112.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#979C33
RGBrgb(151, 156, 51)
HSLhsl(63, 51%, 41%)
HSVhsv(63, 67%, 61%)
CMYKcmyk(3.2%, 0%, 67.3%, 38.8%)
CIE-LABlab(62.16, -15.50, 52.04)
CIE-LCHlch(62.16, 54.29, 106.58°)
OKLaboklab(66.85% -0.0473 0.1171)
OKLCHoklch(66.85% 0.126 112)
XYZxyz(25.2493, 30.5958, 7.7068)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979C33 #38339C
analogous
#9C6C33 #979C33 #629C33
triadic
#979C33 #33979C #9C3397
tetradic
#979C33 #339C6C #38339C #9C3362
square
#979C33 #339C6C #38339C #9C3362
split-complementary
#979C33 #33629C #6C339C
monochromatic
#3E4015 #6A6E24 #979C33 #BEC349 #CED377

Accessibility & contrast

On white

2.95
#979C33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#979C33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979C33
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979C33#FFFFFF#000000##000000
##979C331.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89524
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#A19387
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #979c33;
/* rgb */ color: rgb(151, 156, 51);
/* oklch */ color: oklch(66.8% 0.126 112.0);
Tailwind
colors: {
  custom: {
    50: '#b8b971',
    500: '#979c33',
    950: '#000000',
  },
}
SCSS
$custom: #979c33;
$custom-light: #b8b971;
$custom-dark: #000000;
JSON
{
  "hex": "#979c33",
  "rgb": {
    "r": 151,
    "g": 156,
    "b": 51
  },
  "hsl": {
    "h": 62.857,
    "s": 50.725,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6685,
    "c": 0.12628,
    "h": 112
  },
  "luminance": 0.30595
}

Semantic roles & 50–950 ramp

primary
#979C33
secondary
#7370BB
accent
#4EDA54
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979C33

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

Preview Lab → · Contrast checker → · Palette generator →

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