#979426#979426

#979426 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 64.9% C 0.127 H 107.9°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#979426
RGBrgb(151, 148, 38)
HSLhsl(58, 60%, 37%)
HSVhsv(58, 75%, 59%)
CMYKcmyk(0%, 2%, 74.8%, 40.8%)
CIE-LABlab(59.80, -11.99, 54.71)
CIE-LCHlch(59.80, 56.01, 102.37°)
OKLaboklab(64.93% -0.0388 0.1204)
OKLCHoklch(64.93% 0.127 107.9)
XYZxyz(23.7032, 27.8999, 5.9700)
Luminance0.2790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979426 #262997
analogous
#975C26 #979426 #629726
triadic
#979426 #269794 #942697
tetradic
#979426 #26975C #262997 #972662
square
#979426 #26975C #262997 #972662
split-complementary
#979426 #266297 #5C2697
monochromatic
#35340D #66641A #979426 #C8C432 #D7D460

Accessibility & contrast

On white

3.19
#979426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#979426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979426
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979426#FFFFFF#000000##000000
##9794261.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E0F
Deuteranopia (green-blind)
#A3922E
Tritanopia (blue-blind)
#A28A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #979426;
/* rgb */ color: rgb(151, 148, 38);
/* oklch */ color: oklch(64.9% 0.127 107.9);
Tailwind
colors: {
  custom: {
    50: '#b9b369',
    500: '#979426',
    950: '#000000',
  },
}
SCSS
$custom: #979426;
$custom-light: #b9b369;
$custom-dark: #000000;
JSON
{
  "hex": "#979426",
  "rgb": {
    "r": 151,
    "g": 148,
    "b": 38
  },
  "hsl": {
    "h": 58.407,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64932,
    "c": 0.12652,
    "h": 107.9
  },
  "luminance": 0.27899
}

Semantic roles & 50–950 ramp

primary
#979426
secondary
#5C5FBC
accent
#49E345
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121107
muted
#81807A

Preview Lab

Preview with #979426

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

Preview Lab → · Contrast checker → · Palette generator →

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