#978424#978424

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

Color values

HEX#978424
RGBrgb(151, 132, 36)
HSLhsl(50, 61%, 37%)
HSVhsv(50, 76%, 59%)
CMYKcmyk(0%, 12.6%, 76.2%, 40.8%)
CIE-LABlab(55.29, -3.42, 51.17)
CIE-LCHlch(55.29, 51.29, 93.82°)
OKLaboklab(61.34% -0.0148 0.1125)
OKLCHoklch(61.34% 0.113 97.5)
XYZxyz(21.3333, 23.2103, 5.0251)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978424 #243797
analogous
#974B24 #978424 #719724
triadic
#978424 #249784 #842497
tetradic
#978424 #24974B #243797 #972471
square
#978424 #24974B #243797 #972471
split-complementary
#978424 #247197 #4B2497
monochromatic
#342E0C #665918 #978424 #C8AF30 #D8C45D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##978424#FFFFFF#000000##000000
##9784241.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)
#928112
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#A37A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #978424;
/* rgb */ color: rgb(151, 132, 36);
/* oklch */ color: oklch(61.3% 0.113 97.5);
Tailwind
colors: {
  custom: {
    50: '#b9a766',
    500: '#978424',
    950: '#000000',
  },
}
SCSS
$custom: #978424;
$custom-light: #b9a766;
$custom-dark: #000000;
JSON
{
  "hex": "#978424",
  "rgb": {
    "r": 151,
    "g": 132,
    "b": 36
  },
  "hsl": {
    "h": 50.087,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61342,
    "c": 0.11349,
    "h": 97.5
  },
  "luminance": 0.23209
}

Semantic roles & 50–950 ramp

primary
#978424
secondary
#5A6ABD
accent
#5EE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978424

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

Preview Lab → · Contrast checker → · Palette generator →

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