#979A34#979A34

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

Color values

HEX#979A34
RGBrgb(151, 154, 52)
HSLhsl(62, 50%, 40%)
HSVhsv(62, 66%, 60%)
CMYKcmyk(1.9%, 0%, 66.2%, 39.6%)
CIE-LABlab(61.60, -14.39, 51.04)
CIE-LCHlch(61.60, 53.03, 105.75°)
OKLaboklab(66.4% -0.0441 0.1152)
OKLCHoklch(66.4% 0.123 110.9)
XYZxyz(24.9387, 29.9391, 7.7133)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979A34 #37349A
analogous
#9A6A34 #979A34 #649A34
triadic
#979A34 #34979A #9A3497
tetradic
#979A34 #349A6A #37349A #9A3464
square
#979A34 #349A6A #37349A #9A3464
split-complementary
#979A34 #34649A #6A349A
monochromatic
#3D3E15 #6A6C25 #979A34 #BEC249 #CFD177

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979A34#FFFFFF#000000##000000
##979A341.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)
#A69326
Deuteranopia (green-blind)
#A7963B
Tritanopia (blue-blind)
#A19185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979a34;
/* rgb */ color: rgb(151, 154, 52);
/* oklch */ color: oklch(66.4% 0.123 110.9);
Tailwind
colors: {
  custom: {
    50: '#b8b771',
    500: '#979a34',
    950: '#000000',
  },
}
SCSS
$custom: #979a34;
$custom-light: #b8b771;
$custom-dark: #000000;
JSON
{
  "hex": "#979a34",
  "rgb": {
    "r": 151,
    "g": 154,
    "b": 52
  },
  "hsl": {
    "h": 61.765,
    "s": 49.515,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66402,
    "c": 0.12331,
    "h": 110.9
  },
  "luminance": 0.29938
}

Semantic roles & 50–950 ramp

primary
#979A34
secondary
#7270BA
accent
#4FD953
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979A34

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

Preview Lab → · Contrast checker → · Palette generator →

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