#979326#979326

#979326 is a light, vivid yellow. Relative luminance 0.276; OKLCH L 64.7% C 0.126 H 107.3°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#979326
RGBrgb(151, 147, 38)
HSLhsl(58, 60%, 37%)
HSVhsv(58, 75%, 59%)
CMYKcmyk(0%, 2.6%, 74.8%, 40.8%)
CIE-LABlab(59.51, -11.46, 54.44)
CIE-LCHlch(59.51, 55.63, 101.89°)
OKLaboklab(64.71% -0.0373 0.1199)
OKLCHoklch(64.71% 0.126 107.3)
XYZxyz(23.5470, 27.5875, 5.9179)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979326 #262A97
analogous
#975B26 #979326 #639726
triadic
#979326 #269793 #932697
tetradic
#979326 #26975B #262A97 #972663
square
#979326 #26975B #262A97 #972663
split-complementary
#979326 #266397 #5B2697
monochromatic
#35340D #66631A #979326 #C8C332 #D7D360

Accessibility & contrast

On white

3.22
#979326 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#979326 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979326
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979326#FFFFFF#000000##000000
##9793261.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D10
Deuteranopia (green-blind)
#A2912E
Tritanopia (blue-blind)
#A2897E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #979326;
/* rgb */ color: rgb(151, 147, 38);
/* oklch */ color: oklch(64.7% 0.126 107.3);
Tailwind
colors: {
  custom: {
    50: '#b9b269',
    500: '#979326',
    950: '#000000',
  },
}
SCSS
$custom: #979326;
$custom-light: #b9b269;
$custom-dark: #000000;
JSON
{
  "hex": "#979326",
  "rgb": {
    "r": 151,
    "g": 147,
    "b": 38
  },
  "hsl": {
    "h": 57.876,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64705,
    "c": 0.12553,
    "h": 107.3
  },
  "luminance": 0.27587
}

Semantic roles & 50–950 ramp

primary
#979326
secondary
#5C60BC
accent
#4AE345
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #979326

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

Preview Lab → · Contrast checker → · Palette generator →

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