#978431#978431

#978431 is a mid, moderate yellow. Relative luminance 0.233; OKLCH L 61.4% C 0.104 H 96.2°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#978431
RGBrgb(151, 132, 49)
HSLhsl(49, 51%, 39%)
HSVhsv(49, 68%, 59%)
CMYKcmyk(0%, 12.6%, 67.5%, 40.8%)
CIE-LABlab(55.38, -2.72, 45.86)
CIE-LCHlch(55.38, 45.94, 93.39°)
OKLaboklab(61.45% -0.0113 0.1037)
OKLCHoklch(61.45% 0.104 96.2)
XYZxyz(21.5691, 23.3047, 6.2673)
Luminance0.2330 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978431 #314497
analogous
#975131 #978431 #779731
triadic
#978431 #319784 #843197
tetradic
#978431 #319751 #314497 #973177
square
#978431 #319751 #314497 #973177
split-complementary
#978431 #317797 #513197
monochromatic
#3B3313 #695C22 #978431 #C2AA43 #D1BF71

Accessibility & contrast

On white

3.71
#978431 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#978431 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978431
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978431#FFFFFF#000000##000000
##9784311.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#918127
Deuteranopia (green-blind)
#968735
Tritanopia (blue-blind)
#A37A73
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978431;
/* rgb */ color: rgb(151, 132, 49);
/* oklch */ color: oklch(61.4% 0.104 96.2);
Tailwind
colors: {
  custom: {
    50: '#b9a76d',
    500: '#978431',
    950: '#000000',
  },
}
SCSS
$custom: #978431;
$custom-light: #b9a76d;
$custom-dark: #000000;
JSON
{
  "hex": "#978431",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 49
  },
  "hsl": {
    "h": 48.824,
    "s": 51,
    "l": 39.216
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.10433,
    "h": 96.2
  },
  "luminance": 0.23304
}

Semantic roles & 50–950 ramp

primary
#978431
secondary
#6B79B9
accent
#68DA4D
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978431

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

Preview Lab → · Contrast checker → · Palette generator →

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