#978524#978524

#978524 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.114 H 98.2°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#978524
RGBrgb(151, 133, 36)
HSLhsl(51, 61%, 37%)
HSVhsv(51, 76%, 59%)
CMYKcmyk(0%, 11.9%, 76.2%, 40.8%)
CIE-LABlab(55.57, -3.97, 51.44)
CIE-LCHlch(55.57, 51.59, 94.41°)
OKLaboklab(61.56% -0.0164 0.1131)
OKLCHoklch(61.56% 0.114 98.2)
XYZxyz(21.4695, 23.4828, 5.0705)
Luminance0.2348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978524 #243697
analogous
#974C24 #978524 #709724
triadic
#978524 #249785 #852497
tetradic
#978524 #24974C #243697 #972470
square
#978524 #24974C #243697 #972470
split-complementary
#978524 #247097 #4C2497
monochromatic
#342E0C #665918 #978524 #C8B130 #D8C55D

Accessibility & contrast

On white

3.69
#978524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#978524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978524
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978524#FFFFFF#000000##000000
##9785241.003.695.705.70
#FFFFFF3.691.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#938212
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#A37B72
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #978524;
/* rgb */ color: rgb(151, 133, 36);
/* oklch */ color: oklch(61.6% 0.114 98.2);
Tailwind
colors: {
  custom: {
    50: '#b9a866',
    500: '#978524',
    950: '#000000',
  },
}
SCSS
$custom: #978524;
$custom-light: #b9a866;
$custom-dark: #000000;
JSON
{
  "hex": "#978524",
  "rgb": {
    "r": 151,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 50.609,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.11426,
    "h": 98.2
  },
  "luminance": 0.23482
}

Semantic roles & 50–950 ramp

primary
#978524
secondary
#5A69BD
accent
#5CE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978524

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

Preview Lab → · Contrast checker → · Palette generator →

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