#978D24#978D24

#978D24 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.3% C 0.121 H 103.7°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#978D24
RGBrgb(151, 141, 36)
HSLhsl(55, 61%, 37%)
HSVhsv(55, 76%, 59%)
CMYKcmyk(0%, 6.6%, 76.2%, 40.8%)
CIE-LABlab(57.81, -8.34, 53.55)
CIE-LCHlch(57.81, 54.19, 98.85°)
OKLaboklab(63.34% -0.0287 0.1176)
OKLCHoklch(63.34% 0.121 103.7)
XYZxyz(22.6068, 25.7574, 5.4496)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978D24 #242E97
analogous
#975424 #978D24 #689724
triadic
#978D24 #24978D #8D2497
tetradic
#978D24 #249754 #242E97 #972468
square
#978D24 #249754 #242E97 #972468
split-complementary
#978D24 #246897 #542497
monochromatic
#34310C #665F18 #978D24 #C8BB30 #D8CE5D

Accessibility & contrast

On white

3.41
#978D24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#978D24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978D24
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978D24#FFFFFF#000000##000000
##978D241.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880E
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#A38379
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #978d24;
/* rgb */ color: rgb(151, 141, 36);
/* oklch */ color: oklch(63.3% 0.121 103.7);
Tailwind
colors: {
  custom: {
    50: '#b9ae67',
    500: '#978d24',
    950: '#000000',
  },
}
SCSS
$custom: #978d24;
$custom-light: #b9ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#978d24",
  "rgb": {
    "r": 151,
    "g": 141,
    "b": 36
  },
  "hsl": {
    "h": 54.783,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63341,
    "c": 0.12103,
    "h": 103.7
  },
  "luminance": 0.25756
}

Semantic roles & 50–950 ramp

primary
#978D24
secondary
#5A62BD
accent
#51E543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #978D24

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

Preview Lab → · Contrast checker → · Palette generator →

#978D24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva