#978426#978426

#978426 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.4% C 0.112 H 97.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#978426
RGBrgb(151, 132, 38)
HSLhsl(50, 60%, 37%)
HSVhsv(50, 75%, 59%)
CMYKcmyk(0%, 12.6%, 74.8%, 40.8%)
CIE-LABlab(55.30, -3.32, 50.41)
CIE-LCHlch(55.30, 50.52, 93.77°)
OKLaboklab(61.36% -0.0143 0.1113)
OKLCHoklch(61.36% 0.112 97.3)
XYZxyz(21.3647, 23.2229, 5.1905)
Luminance0.2322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978426 #263997
analogous
#974C26 #978426 #719726
triadic
#978426 #269784 #842697
tetradic
#978426 #26974C #263997 #972671
square
#978426 #26974C #263997 #972671
split-complementary
#978426 #267197 #4C2697
monochromatic
#352F0D #66591A #978426 #C8AF32 #D7C360

Accessibility & contrast

On white

3.72
#978426 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#978426 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978426
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978426#FFFFFF#000000##000000
##9784261.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928116
Deuteranopia (green-blind)
#97872C
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978426;
/* rgb */ color: rgb(151, 132, 38);
/* oklch */ color: oklch(61.4% 0.112 97.3);
Tailwind
colors: {
  custom: {
    50: '#b9a767',
    500: '#978426',
    950: '#000000',
  },
}
SCSS
$custom: #978426;
$custom-light: #b9a767;
$custom-dark: #000000;
JSON
{
  "hex": "#978426",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 38
  },
  "hsl": {
    "h": 49.912,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.61357,
    "c": 0.11224,
    "h": 97.3
  },
  "luminance": 0.23222
}

Semantic roles & 50–950 ramp

primary
#978426
secondary
#5C6DBC
accent
#5FE345
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978426

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

Preview Lab → · Contrast checker → · Palette generator →

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