#979524#979524

#979524 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.1% C 0.129 H 108.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#979524
RGBrgb(151, 149, 36)
HSLhsl(59, 61%, 37%)
HSVhsv(59, 76%, 59%)
CMYKcmyk(0%, 1.3%, 76.2%, 40.8%)
CIE-LABlab(60.07, -12.61, 55.66)
CIE-LCHlch(60.07, 57.07, 102.77°)
OKLaboklab(65.15% -0.0407 0.1221)
OKLCHoklch(65.15% 0.129 108.5)
XYZxyz(23.8293, 28.2024, 5.8571)
Luminance0.2820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979524 #242697
analogous
#975C24 #979524 #5F9724
triadic
#979524 #249795 #952497
tetradic
#979524 #24975C #242697 #97245F
square
#979524 #24975C #242697 #97245F
split-complementary
#979524 #245F97 #5C2497
monochromatic
#34330C #666418 #979524 #C8C630 #D8D65D

Accessibility & contrast

On white

3.16
#979524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#979524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979524
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979524#FFFFFF#000000##000000
##9795241.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F0A
Deuteranopia (green-blind)
#A3932D
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979524;
/* rgb */ color: rgb(151, 149, 36);
/* oklch */ color: oklch(65.1% 0.129 108.5);
Tailwind
colors: {
  custom: {
    50: '#b9b368',
    500: '#979524',
    950: '#000000',
  },
}
SCSS
$custom: #979524;
$custom-light: #b9b368;
$custom-dark: #000000;
JSON
{
  "hex": "#979524",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 58.957,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65146,
    "c": 0.12868,
    "h": 108.5
  },
  "luminance": 0.28202
}

Semantic roles & 50–950 ramp

primary
#979524
secondary
#5A5BBD
accent
#46E543
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979524

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

Preview Lab → · Contrast checker → · Palette generator →

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