#978429#978429

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

Color values

HEX#978429
RGBrgb(151, 132, 41)
HSLhsl(50, 57%, 38%)
HSVhsv(50, 73%, 59%)
CMYKcmyk(0%, 12.6%, 72.8%, 40.8%)
CIE-LABlab(55.32, -3.17, 49.24)
CIE-LCHlch(55.32, 49.34, 93.69°)
OKLaboklab(61.38% -0.0136 0.1094)
OKLCHoklch(61.38% 0.11 97.1)
XYZxyz(21.4151, 23.2430, 5.4558)
Luminance0.2324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978429 #293C97
analogous
#974D29 #978429 #739729
triadic
#978429 #299784 #842997
tetradic
#978429 #29974D #293C97 #972973
square
#978429 #29974D #293C97 #972973
split-complementary
#978429 #297397 #4D2997
monochromatic
#37300F #675A1C #978429 #C7AE36 #D5C265

Accessibility & contrast

On white

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

On black

5.65
#978429 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978429
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978429#FFFFFF#000000##000000
##9784291.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92811B
Deuteranopia (green-blind)
#96872E
Tritanopia (blue-blind)
#A37A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978429;
/* rgb */ color: rgb(151, 132, 41);
/* oklch */ color: oklch(61.4% 0.110 97.1);
Tailwind
colors: {
  custom: {
    50: '#b9a769',
    500: '#978429',
    950: '#000000',
  },
}
SCSS
$custom: #978429;
$custom-light: #b9a769;
$custom-dark: #000000;
JSON
{
  "hex": "#978429",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 41
  },
  "hsl": {
    "h": 49.636,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.61379,
    "c": 0.11025,
    "h": 97.1
  },
  "luminance": 0.23242
}

Semantic roles & 50–950 ramp

primary
#978429
secondary
#6170BB
accent
#62E147
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #978429

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

Preview Lab → · Contrast checker → · Palette generator →

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