#979A33#979A33

#979A33 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.124 H 111.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#979A33
RGBrgb(151, 154, 51)
HSLhsl(62, 50%, 40%)
HSVhsv(62, 67%, 60%)
CMYKcmyk(1.9%, 0%, 66.9%, 39.6%)
CIE-LABlab(61.59, -14.46, 51.45)
CIE-LCHlch(61.59, 53.44, 105.69°)
OKLaboklab(66.39% -0.0444 0.1159)
OKLCHoklch(66.39% 0.124 111)
XYZxyz(24.9164, 29.9302, 7.5959)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A33 #36339A
analogous
#9A6A33 #979A33 #639A33
triadic
#979A33 #33979A #9A3397
tetradic
#979A33 #339A6A #36339A #9A3363
square
#979A33 #339A6A #36339A #9A3363
split-complementary
#979A33 #33639A #6A339A
monochromatic
#3D3E15 #6A6C24 #979A33 #BFC248 #CFD276

Accessibility & contrast

On white

3.01
#979A33 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#979A33 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979A33
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979A33#FFFFFF#000000##000000
##979A331.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69325
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#A19185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a33;
/* rgb */ color: rgb(151, 154, 51);
/* oklch */ color: oklch(66.4% 0.124 111.0);
Tailwind
colors: {
  custom: {
    50: '#b8b771',
    500: '#979a33',
    950: '#000000',
  },
}
SCSS
$custom: #979a33;
$custom-light: #b8b771;
$custom-dark: #000000;
JSON
{
  "hex": "#979a33",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 51
  },
  "hsl": {
    "h": 61.748,
    "s": 50.244,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66394,
    "c": 0.12407,
    "h": 111
  },
  "luminance": 0.2993
}

Semantic roles & 50–950 ramp

primary
#979A33
secondary
#716FBA
accent
#4EDA52
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979A33

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

Preview Lab → · Contrast checker → · Palette generator →

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