#979928#979928

#979928 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.130 H 110.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#979928
RGBrgb(151, 153, 40)
HSLhsl(61, 59%, 38%)
HSVhsv(61, 74%, 60%)
CMYKcmyk(1.3%, 0%, 73.9%, 40%)
CIE-LABlab(61.23, -14.53, 55.35)
CIE-LCHlch(61.23, 57.23, 104.71°)
OKLaboklab(66.08% -0.0457 0.1222)
OKLCHoklch(66.08% 0.13 110.5)
XYZxyz(24.5376, 29.5157, 6.4116)
Luminance0.2952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979928 #2A2899
analogous
#996228 #979928 #5E9928
triadic
#979928 #289799 #992897
tetradic
#979928 #289962 #2A2899 #99285E
square
#979928 #289962 #2A2899 #99285E
split-complementary
#979928 #285E99 #622899
monochromatic
#37380F #67681B #979928 #C7CA35 #D5D765

Accessibility & contrast

On white

3.04
#979928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#979928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979928
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979928#FFFFFF#000000##000000
##9799281.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59211
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979928;
/* rgb */ color: rgb(151, 153, 40);
/* oklch */ color: oklch(66.1% 0.130 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b66b',
    500: '#979928',
    950: '#000000',
  },
}
SCSS
$custom: #979928;
$custom-light: #b9b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#979928",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 61.062,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66082,
    "c": 0.13043,
    "h": 110.5
  },
  "luminance": 0.29515
}

Semantic roles & 50–950 ramp

primary
#979928
secondary
#6260BD
accent
#46E249
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979928

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

Preview Lab → · Contrast checker → · Palette generator →

#979928 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva