#979628#979628

#979628 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.4% C 0.127 H 108.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#979628
RGBrgb(151, 150, 40)
HSLhsl(59, 58%, 37%)
HSVhsv(59, 74%, 59%)
CMYKcmyk(0%, 0.7%, 73.5%, 40.8%)
CIE-LABlab(60.38, -12.96, 54.54)
CIE-LCHlch(60.38, 56.06, 103.37°)
OKLaboklab(65.4% -0.0413 0.1204)
OKLCHoklch(65.4% 0.127 108.9)
XYZxyz(24.0527, 28.5459, 6.2500)
Luminance0.2854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979628 #282997
analogous
#975E28 #979628 #619728
triadic
#979628 #289796 #962897
tetradic
#979628 #28975E #282997 #972861
square
#979628 #28975E #282997 #972861
split-complementary
#979628 #286197 #5E2897
monochromatic
#36360E #67661B #979628 #C7C635 #D6D564

Accessibility & contrast

On white

3.13
#979628 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#979628 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979628
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979628#FFFFFF#000000##000000
##9796281.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39013
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#A28C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979628;
/* rgb */ color: rgb(151, 150, 40);
/* oklch */ color: oklch(65.4% 0.127 108.9);
Tailwind
colors: {
  custom: {
    50: '#b9b46a',
    500: '#979628',
    950: '#000000',
  },
}
SCSS
$custom: #979628;
$custom-light: #b9b46a;
$custom-dark: #000000;
JSON
{
  "hex": "#979628",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 40
  },
  "hsl": {
    "h": 59.459,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65399,
    "c": 0.12733,
    "h": 108.9
  },
  "luminance": 0.28545
}

Semantic roles & 50–950 ramp

primary
#979628
secondary
#5F60BC
accent
#48E146
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979628

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

Preview Lab → · Contrast checker → · Palette generator →

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