#978624#978624

#978624 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.8% C 0.115 H 99.0°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#978624
RGBrgb(151, 134, 36)
HSLhsl(51, 61%, 37%)
HSVhsv(51, 76%, 59%)
CMYKcmyk(0%, 11.3%, 76.2%, 40.8%)
CIE-LABlab(55.84, -4.52, 51.70)
CIE-LCHlch(55.84, 51.90, 95.00°)
OKLaboklab(61.78% -0.018 0.1136)
OKLCHoklch(61.78% 0.115 99)
XYZxyz(21.6071, 23.7580, 5.1164)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978624 #243597
analogous
#974C24 #978624 #6F9724
triadic
#978624 #249786 #862497
tetradic
#978624 #24974C #243597 #97246F
square
#978624 #24974C #243597 #97246F
split-complementary
#978624 #246F97 #4C2497
monochromatic
#342E0C #665A18 #978624 #C8B230 #D8C65D

Accessibility & contrast

On white

3.65
#978624 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#978624 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978624
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978624#FFFFFF#000000##000000
##9786241.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948212
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#A37C73
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #978624;
/* rgb */ color: rgb(151, 134, 36);
/* oklch */ color: oklch(61.8% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#b9a866',
    500: '#978624',
    950: '#000000',
  },
}
SCSS
$custom: #978624;
$custom-light: #b9a866;
$custom-dark: #000000;
JSON
{
  "hex": "#978624",
  "rgb": {
    "r": 151,
    "g": 134,
    "b": 36
  },
  "hsl": {
    "h": 51.13,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61783,
    "c": 0.11505,
    "h": 99
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#978624
secondary
#5A68BD
accent
#5BE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978624

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

Preview Lab → · Contrast checker → · Palette generator →

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