#979748#979748

#979748 is a light, moderate yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.102 H 108.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#979748
RGBrgb(151, 151, 72)
HSLhsl(60, 35%, 44%)
HSVhsv(60, 52%, 59%)
CMYKcmyk(0%, 0%, 52.3%, 40.8%)
CIE-LABlab(60.94, -11.29, 41.10)
CIE-LCHlch(60.94, 42.62, 105.35°)
OKLaboklab(65.94% -0.0331 0.0966)
OKLCHoklch(65.94% 0.102 108.9)
XYZxyz(24.9994, 29.1810, 10.4452)
Luminance0.2918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979748 #484897
analogous
#976F48 #979748 #6F9748
triadic
#979748 #489797 #974897
tetradic
#979748 #48976F #484897 #97486F
square
#979748 #48976F #484897 #97486F
split-complementary
#979748 #486F97 #6F4897
monochromatic
#444420 #6E6E34 #979748 #B6B666 #CACA90

Accessibility & contrast

On white

3.07
#979748 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#979748 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979748
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979748#FFFFFF#000000##000000
##9797481.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29141
Deuteranopia (green-blind)
#A3944C
Tritanopia (blue-blind)
#A08F85
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #979748;
/* rgb */ color: rgb(151, 151, 72);
/* oklch */ color: oklch(65.9% 0.102 108.9);
Tailwind
colors: {
  custom: {
    50: '#b7b57d',
    500: '#979748',
    950: '#000000',
  },
}
SCSS
$custom: #979748;
$custom-light: #b7b57d;
$custom-dark: #000000;
JSON
{
  "hex": "#979748",
  "rgb": {
    "r": 151,
    "g": 151,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 35.426,
    "l": 43.725
  },
  "oklch": {
    "l": 0.65937,
    "c": 0.10212,
    "h": 108.9
  },
  "luminance": 0.2918
}

Semantic roles & 50–950 ramp

primary
#979748
secondary
#8585B6
accent
#5CCB5C
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #979748

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

Preview Lab → · Contrast checker → · Palette generator →

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