#979947#979947

#979947 is a light, moderate yellow. Relative luminance 0.298; OKLCH L 66.4% C 0.105 H 110.2°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#979947
RGBrgb(151, 153, 71)
HSLhsl(61, 37%, 44%)
HSVhsv(61, 54%, 60%)
CMYKcmyk(1.3%, 0%, 53.6%, 40%)
CIE-LABlab(61.50, -12.44, 42.24)
CIE-LCHlch(61.50, 44.03, 106.40°)
OKLaboklab(66.38% -0.0365 0.099)
OKLCHoklch(66.38% 0.105 110.2)
XYZxyz(25.2917, 29.8173, 10.3830)
Luminance0.2982 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979947 #494799
analogous
#997247 #979947 #6E9947
triadic
#979947 #479799 #994797
tetradic
#979947 #479972 #494799 #99476E
square
#979947 #479972 #494799 #99476E
split-complementary
#979947 #476E99 #724799
monochromatic
#444520 #6E6F34 #979947 #B6B865 #CACB8F

Accessibility & contrast

On white

3.02
#979947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#979947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979947
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979947#FFFFFF#000000##000000
##9799471.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4933F
Deuteranopia (green-blind)
#A4964B
Tritanopia (blue-blind)
#A09187
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #979947;
/* rgb */ color: rgb(151, 153, 71);
/* oklch */ color: oklch(66.4% 0.105 110.2);
Tailwind
colors: {
  custom: {
    50: '#b7b67d',
    500: '#979947',
    950: '#000000',
  },
}
SCSS
$custom: #979947;
$custom-light: #b7b67d;
$custom-dark: #000000;
JSON
{
  "hex": "#979947",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 71
  },
  "hsl": {
    "h": 61.463,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66376,
    "c": 0.10547,
    "h": 110.2
  },
  "luminance": 0.29817
}

Semantic roles & 50–950 ramp

primary
#979947
secondary
#8685B7
accent
#5BCD5E
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#12110A
muted
#81807C

Preview Lab

Preview with #979947

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

Preview Lab → · Contrast checker → · Palette generator →

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