#978724#978724

#978724 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.0% C 0.116 H 99.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#978724
RGBrgb(151, 135, 36)
HSLhsl(52, 61%, 37%)
HSVhsv(52, 76%, 59%)
CMYKcmyk(0%, 10.6%, 76.2%, 40.8%)
CIE-LABlab(56.12, -5.07, 51.96)
CIE-LCHlch(56.12, 52.21, 95.57°)
OKLaboklab(62% -0.0195 0.1142)
OKLCHoklch(62% 0.116 99.7)
XYZxyz(21.7460, 24.0357, 5.1626)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#978724 #243497
analogous
#974E24 #978724 #6E9724
triadic
#978724 #249787 #872497
tetradic
#978724 #24974E #243497 #97246E
square
#978724 #24974E #243497 #97246E
split-complementary
#978724 #246E97 #4E2497
monochromatic
#342F0C #665B18 #978724 #C8B330 #D8C75D

Accessibility & contrast

On white

3.62
#978724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#978724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #978724
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##978724#FFFFFF#000000##000000
##9787241.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958311
Deuteranopia (green-blind)
#99892B
Tritanopia (blue-blind)
#A37D74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #978724;
/* rgb */ color: rgb(151, 135, 36);
/* oklch */ color: oklch(62.0% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#b9a967',
    500: '#978724',
    950: '#000000',
  },
}
SCSS
$custom: #978724;
$custom-light: #b9a967;
$custom-dark: #000000;
JSON
{
  "hex": "#978724",
  "rgb": {
    "r": 151,
    "g": 135,
    "b": 36
  },
  "hsl": {
    "h": 51.652,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62004,
    "c": 0.11585,
    "h": 99.7
  },
  "luminance": 0.24035
}

Semantic roles & 50–950 ramp

primary
#978724
secondary
#5A67BD
accent
#5AE543
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #978724

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

Preview Lab → · Contrast checker → · Palette generator →

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