#979728#979728

#979728 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.6% C 0.128 H 109.5°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#979728
RGBrgb(151, 151, 40)
HSLhsl(60, 58%, 37%)
HSVhsv(60, 74%, 59%)
CMYKcmyk(0%, 0%, 73.5%, 40.8%)
CIE-LABlab(60.66, -13.48, 54.81)
CIE-LCHlch(60.66, 56.44, 103.82°)
OKLaboklab(65.63% -0.0428 0.121)
OKLCHoklch(65.63% 0.128 109.5)
XYZxyz(24.2130, 28.8665, 6.3034)
Luminance0.2887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979728 #282897
analogous
#976028 #979728 #609728
triadic
#979728 #289797 #972897
tetradic
#979728 #289760 #282897 #972860
square
#979728 #289760 #282897 #972860
split-complementary
#979728 #286097 #602897
monochromatic
#36360E #67671B #979728 #C7C735 #D6D664

Accessibility & contrast

On white

3.10
#979728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#979728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979728
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979728#FFFFFF#000000##000000
##9797281.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39012
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#A28D82
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979728;
/* rgb */ color: rgb(151, 151, 40);
/* oklch */ color: oklch(65.6% 0.128 109.5);
Tailwind
colors: {
  custom: {
    50: '#b9b56a',
    500: '#979728',
    950: '#000000',
  },
}
SCSS
$custom: #979728;
$custom-light: #b9b56a;
$custom-dark: #000000;
JSON
{
  "hex": "#979728",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 60,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65626,
    "c": 0.12835,
    "h": 109.5
  },
  "luminance": 0.28866
}

Semantic roles & 50–950 ramp

primary
#979728
secondary
#5F5FBC
accent
#46E146
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #979728

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

Preview Lab → · Contrast checker → · Palette generator →

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