#979626#979626

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

Color values

HEX#979626
RGBrgb(151, 150, 38)
HSLhsl(59, 60%, 37%)
HSVhsv(59, 75%, 59%)
CMYKcmyk(0%, 0.7%, 74.8%, 40.8%)
CIE-LABlab(60.37, -13.05, 55.24)
CIE-LCHlch(60.37, 56.76, 103.29°)
OKLaboklab(65.39% -0.0418 0.1216)
OKLCHoklch(65.39% 0.129 109)
XYZxyz(24.0196, 28.5327, 6.0754)
Luminance0.2853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979626 #262797
analogous
#975E26 #979626 #609726
triadic
#979626 #269796 #962697
tetradic
#979626 #26975E #262797 #972660
square
#979626 #26975E #262797 #972660
split-complementary
#979626 #266097 #5E2697
monochromatic
#35350D #66651A #979626 #C8C732 #D7D660

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979626#FFFFFF#000000##000000
##9796261.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)
#A3900E
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#A28C81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #979626;
/* rgb */ color: rgb(151, 150, 38);
/* oklch */ color: oklch(65.4% 0.129 109.0);
Tailwind
colors: {
  custom: {
    50: '#b9b469',
    500: '#979626',
    950: '#000000',
  },
}
SCSS
$custom: #979626;
$custom-light: #b9b469;
$custom-dark: #000000;
JSON
{
  "hex": "#979626",
  "rgb": {
    "r": 151,
    "g": 150,
    "b": 38
  },
  "hsl": {
    "h": 59.469,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65386,
    "c": 0.12852,
    "h": 109
  },
  "luminance": 0.28532
}

Semantic roles & 50–950 ramp

primary
#979626
secondary
#5C5DBC
accent
#46E345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979626

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

Preview Lab → · Contrast checker → · Palette generator →

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