#979962#979962

#979962 is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.075 H 110.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#979962
RGBrgb(151, 153, 98)
HSLhsl(62, 22%, 49%)
HSVhsv(62, 36%, 60%)
CMYKcmyk(1.3%, 0%, 35.9%, 40%)
CIE-LABlab(61.86, -9.56, 28.70)
CIE-LCHlch(61.86, 30.25, 108.42°)
OKLaboklab(66.79% -0.0258 0.0707)
OKLCHoklch(66.79% 0.075 110)
XYZxyz(26.3586, 30.2440, 16.0020)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979962 #646299
analogous
#998062 #979962 #7C9962
triadic
#979962 #629799 #996297
tetradic
#979962 #629980 #646299 #99627C
square
#979962 #629980 #646299 #99627C
split-complementary
#979962 #627C99 #806299
monochromatic
#4D4E32 #72744A #979962 #B0B286 #C9CAAC

Accessibility & contrast

On white

2.98
#979962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#979962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #979962
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979962#FFFFFF#000000##000000
##9799621.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945E
Deuteranopia (green-blind)
#A29664
Tritanopia (blue-blind)
#9E938B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979962;
/* rgb */ color: rgb(151, 153, 98);
/* oklch */ color: oklch(66.8% 0.075 110.0);
Tailwind
colors: {
  custom: {
    50: '#b6b78f',
    500: '#979962',
    950: '#000000',
  },
}
SCSS
$custom: #979962;
$custom-light: #b6b78f;
$custom-dark: #000000;
JSON
{
  "hex": "#979962",
  "rgb": {
    "r": 151,
    "g": 153,
    "b": 98
  },
  "hsl": {
    "h": 62.182,
    "s": 21.912,
    "l": 49.216
  },
  "oklch": {
    "l": 0.66788,
    "c": 0.07524,
    "h": 110
  },
  "luminance": 0.30244
}

Semantic roles & 50–950 ramp

primary
#979962
secondary
#A09FB8
accent
#69BE6C
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #979962

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

Preview Lab → · Contrast checker → · Palette generator →

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