#979528#979528

#979528 is a light, vivid yellow. Relative luminance 0.282; OKLCH L 65.2% C 0.126 H 108.4°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#979528
RGBrgb(151, 149, 40)
HSLhsl(59, 58%, 37%)
HSVhsv(59, 74%, 59%)
CMYKcmyk(0%, 1.3%, 73.5%, 40.8%)
CIE-LABlab(60.09, -12.43, 54.27)
CIE-LCHlch(60.09, 55.67, 102.90°)
OKLaboklab(65.17% -0.0398 0.1199)
OKLCHoklch(65.17% 0.126 108.4)
XYZxyz(23.8938, 28.2282, 6.1970)
Luminance0.2823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979528 #282A97
analogous
#975E28 #979528 #619728
triadic
#979528 #289795 #952897
tetradic
#979528 #28975E #282A97 #972861
square
#979528 #28975E #282A97 #972861
split-complementary
#979528 #286197 #5E2897
monochromatic
#36360E #67651B #979528 #C7C535 #D6D464

Accessibility & contrast

On white

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

On black

6.65
#979528 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979528
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979528#FFFFFF#000000##000000
##9795281.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #979528;
/* rgb */ color: rgb(151, 149, 40);
/* oklch */ color: oklch(65.2% 0.126 108.4);
Tailwind
colors: {
  custom: {
    50: '#b9b36a',
    500: '#979528',
    950: '#000000',
  },
}
SCSS
$custom: #979528;
$custom-light: #b9b36a;
$custom-dark: #000000;
JSON
{
  "hex": "#979528",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 58.919,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65172,
    "c": 0.1263,
    "h": 108.4
  },
  "luminance": 0.28227
}

Semantic roles & 50–950 ramp

primary
#979528
secondary
#5F61BC
accent
#49E146
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979528

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

Preview Lab → · Contrast checker → · Palette generator →

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