#979526#979526

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

Color values

HEX#979526
RGBrgb(151, 149, 38)
HSLhsl(59, 60%, 37%)
HSVhsv(59, 75%, 59%)
CMYKcmyk(0%, 1.3%, 74.8%, 40.8%)
CIE-LABlab(60.08, -12.52, 54.97)
CIE-LCHlch(60.08, 56.38, 102.83°)
OKLaboklab(65.16% -0.0403 0.121)
OKLCHoklch(65.16% 0.128 108.4)
XYZxyz(23.8607, 28.2149, 6.0225)
Luminance0.2821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979526 #262897
analogous
#975D26 #979526 #619726
triadic
#979526 #269795 #952697
tetradic
#979526 #26975D #262897 #972661
square
#979526 #26975D #262897 #972661
split-complementary
#979526 #266197 #5D2697
monochromatic
#35350D #66651A #979526 #C8C532 #D7D560

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##979526#FFFFFF#000000##000000
##9795261.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)
#A28F0F
Deuteranopia (green-blind)
#A3932F
Tritanopia (blue-blind)
#A28B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979526;
/* rgb */ color: rgb(151, 149, 38);
/* oklch */ color: oklch(65.2% 0.128 108.4);
Tailwind
colors: {
  custom: {
    50: '#b9b369',
    500: '#979526',
    950: '#000000',
  },
}
SCSS
$custom: #979526;
$custom-light: #b9b369;
$custom-dark: #000000;
JSON
{
  "hex": "#979526",
  "rgb": {
    "r": 151,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 58.938,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65158,
    "c": 0.12752,
    "h": 108.4
  },
  "luminance": 0.28214
}

Semantic roles & 50–950 ramp

primary
#979526
secondary
#5C5EBC
accent
#48E345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979526

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

Preview Lab → · Contrast checker → · Palette generator →

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