#979924#979924

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

Color values

HEX#979924
RGBrgb(151, 153, 36)
HSLhsl(61, 62%, 37%)
HSVhsv(61, 76%, 60%)
CMYKcmyk(1.3%, 0%, 76.5%, 40%)
CIE-LABlab(61.21, -14.72, 56.71)
CIE-LCHlch(61.21, 58.59, 104.55°)
OKLaboklab(66.06% -0.0466 0.1243)
OKLCHoklch(66.06% 0.133 110.5)
XYZxyz(24.4730, 29.4898, 6.0717)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979924 #262499
analogous
#996124 #979924 #5C9924
triadic
#979924 #249799 #992497
tetradic
#979924 #249961 #262499 #99245C
square
#979924 #249961 #262499 #99245C
split-complementary
#979924 #245C99 #612499
monochromatic
#35360D #666718 #979924 #C8CB30 #D7D95E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979924#FFFFFF#000000##000000
##9799241.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)
#A69207
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979924;
/* rgb */ color: rgb(151, 153, 36);
/* oklch */ color: oklch(66.1% 0.133 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b669',
    500: '#979924',
    950: '#000000',
  },
}
SCSS
$custom: #979924;
$custom-light: #b9b669;
$custom-dark: #000000;
JSON
{
  "hex": "#979924",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 36
  },
  "hsl": {
    "h": 61.026,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66057,
    "c": 0.13274,
    "h": 110.5
  },
  "luminance": 0.29489
}

Semantic roles & 50–950 ramp

primary
#979924
secondary
#5C5BBE
accent
#43E546
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979924

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

Preview Lab → · Contrast checker → · Palette generator →

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