#979277#979277

#979277 is a light, muted yellow. Relative luminance 0.285; OKLCH L 65.7% C 0.039 H 98.6°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#979277
RGBrgb(151, 146, 119)
HSLhsl(51, 13%, 53%)
HSVhsv(51, 21%, 59%)
CMYKcmyk(0%, 3.3%, 21.2%, 40.8%)
CIE-LABlab(60.31, -2.81, 15.01)
CIE-LCHlch(60.31, 15.27, 100.61°)
OKLaboklab(65.69% -0.0058 0.0384)
OKLCHoklch(65.69% 0.039 98.6)
XYZxyz(26.3711, 28.4694, 21.5551)
Luminance0.2847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979277 #777C97
analogous
#978277 #979277 #8C9777
triadic
#979277 #779792 #927797
tetradic
#979277 #779782 #777C97 #97778C
square
#979277 #779782 #777C97 #97778C
split-complementary
#979277 #778C97 #827797
monochromatic
#545140 #76725A #979277 #B2AE9A #CCCABC

Accessibility & contrast

On white

3.14
#979277 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#979277 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979277
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979277#FFFFFF#000000##000000
##9792771.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#989075
Deuteranopia (green-blind)
#999278
Tritanopia (blue-blind)
#9C8E8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #979277;
/* rgb */ color: rgb(151, 146, 119);
/* oklch */ color: oklch(65.7% 0.039 98.6);
Tailwind
colors: {
  custom: {
    50: '#b6b19e',
    500: '#979277',
    950: '#000000',
  },
}
SCSS
$custom: #979277;
$custom-light: #b6b19e;
$custom-dark: #000000;
JSON
{
  "hex": "#979277",
  "rgb": {
    "r": 151,
    "g": 146,
    "b": 119
  },
  "hsl": {
    "h": 50.625,
    "s": 13.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.65687,
    "c": 0.03885,
    "h": 98.6
  },
  "luminance": 0.28469
}

Semantic roles & 50–950 ramp

primary
#979277
secondary
#AEB0BC
accent
#7CB672
background
#FBFAF9
surface
#F6F5F2
border
#D0CFCC
text
#11100E
muted
#807F7E

Preview Lab

Preview with #979277

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

Preview Lab → · Contrast checker → · Palette generator →

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