#979E33#979E33

#979E33 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.3% C 0.129 H 113.0°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#979E33
RGBrgb(151, 158, 51)
HSLhsl(64, 51%, 41%)
HSVhsv(64, 68%, 62%)
CMYKcmyk(4.4%, 0%, 67.7%, 38%)
CIE-LABlab(62.74, -16.53, 52.62)
CIE-LCHlch(62.74, 55.16, 107.44°)
OKLaboklab(67.31% -0.0502 0.1183)
OKLCHoklch(67.31% 0.129 113)
XYZxyz(25.5876, 31.2726, 7.8196)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979E33 #3A339E
analogous
#9E6F33 #979E33 #619E33
triadic
#979E33 #33979E #9E3397
tetradic
#979E33 #339E6F #3A339E #9E3361
square
#979E33 #339E6F #3A339E #9E3361
split-complementary
#979E33 #33619E #6F339E
monochromatic
#3F4115 #6B7024 #979E33 #BCC44A #CDD378

Accessibility & contrast

On white

2.89
#979E33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#979E33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979E33
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979E33#FFFFFF#000000##000000
##979E331.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9723
Deuteranopia (green-blind)
#AA993B
Tritanopia (blue-blind)
#A19588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #979e33;
/* rgb */ color: rgb(151, 158, 51);
/* oklch */ color: oklch(67.3% 0.129 113.0);
Tailwind
colors: {
  custom: {
    50: '#b8ba71',
    500: '#979e33',
    950: '#000000',
  },
}
SCSS
$custom: #979e33;
$custom-light: #b8ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#979e33",
  "rgb": {
    "r": 151,
    "g": 158,
    "b": 51
  },
  "hsl": {
    "h": 63.925,
    "s": 51.196,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67308,
    "c": 0.12853,
    "h": 113
  },
  "luminance": 0.31272
}

Semantic roles & 50–950 ramp

primary
#979E33
secondary
#7671BC
accent
#4DDB56
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #979E33

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

Preview Lab → · Contrast checker → · Palette generator →

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