#979751#979751

#979751 is a light, moderate yellow. Relative luminance 0.293; OKLCH L 66.1% C 0.093 H 108.7°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#979751
RGBrgb(151, 151, 81)
HSLhsl(60, 30%, 45%)
HSVhsv(60, 46%, 59%)
CMYKcmyk(0%, 0%, 46.4%, 40.8%)
CIE-LABlab(61.05, -10.42, 36.68)
CIE-LCHlch(61.05, 38.13, 105.86°)
OKLaboklab(66.06% -0.0297 0.0877)
OKLCHoklch(66.06% 0.093 108.7)
XYZxyz(25.3148, 29.3072, 12.1063)
Luminance0.2931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979751 #515197
analogous
#977451 #979751 #749751
triadic
#979751 #519797 #975197
tetradic
#979751 #519774 #515197 #975174
square
#979751 #519774 #515197 #975174
split-complementary
#979751 #517497 #745197
monochromatic
#474726 #6F6F3C #979751 #B3B372 #C9C99A

Accessibility & contrast

On white

3.06
#979751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#979751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979751
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979751#FFFFFF#000000##000000
##9797511.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1924B
Deuteranopia (green-blind)
#A29554
Tritanopia (blue-blind)
#A08F87
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #979751;
/* rgb */ color: rgb(151, 151, 81);
/* oklch */ color: oklch(66.1% 0.093 108.7);
Tailwind
colors: {
  custom: {
    50: '#b7b583',
    500: '#979751',
    950: '#000000',
  },
}
SCSS
$custom: #979751;
$custom-light: #b7b583;
$custom-dark: #000000;
JSON
{
  "hex": "#979751",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 81
  },
  "hsl": {
    "h": 60,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.66061,
    "c": 0.0926,
    "h": 108.7
  },
  "luminance": 0.29307
}

Semantic roles & 50–950 ramp

primary
#979751
secondary
#8E8EB6
accent
#61C661
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11110B
muted
#80807C

Preview Lab

Preview with #979751

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

Preview Lab → · Contrast checker → · Palette generator →

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