#979926#979926

#979926 is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.1% C 0.132 H 110.5°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#979926
RGBrgb(151, 153, 38)
HSLhsl(61, 60%, 37%)
HSVhsv(61, 75%, 60%)
CMYKcmyk(1.3%, 0%, 75.2%, 40%)
CIE-LABlab(61.22, -14.63, 56.05)
CIE-LCHlch(61.22, 57.92, 104.63°)
OKLaboklab(66.07% -0.0462 0.1233)
OKLCHoklch(66.07% 0.132 110.5)
XYZxyz(24.5044, 29.5024, 6.2371)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979926 #282699
analogous
#996126 #979926 #5E9926
triadic
#979926 #269799 #992697
tetradic
#979926 #269961 #282699 #99265E
square
#979926 #269961 #282699 #99265E
split-complementary
#979926 #265E99 #612699
monochromatic
#36370E #67681A #979926 #C7CA32 #D6D862

Accessibility & contrast

On white

3.04
#979926 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#979926 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979926
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979926#FFFFFF#000000##000000
##9799261.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5920D
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#A28F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979926;
/* rgb */ color: rgb(151, 153, 38);
/* oklch */ color: oklch(66.1% 0.132 110.5);
Tailwind
colors: {
  custom: {
    50: '#b9b66a',
    500: '#979926',
    950: '#000000',
  },
}
SCSS
$custom: #979926;
$custom-light: #b9b66a;
$custom-dark: #000000;
JSON
{
  "hex": "#979926",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 38
  },
  "hsl": {
    "h": 61.043,
    "s": 60.209,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66069,
    "c": 0.13162,
    "h": 110.5
  },
  "luminance": 0.29502
}

Semantic roles & 50–950 ramp

primary
#979926
secondary
#5F5EBD
accent
#44E347
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #979926

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

Preview Lab → · Contrast checker → · Palette generator →

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