#979862#979862

#979862 is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.6% C 0.074 H 109.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#979862
RGBrgb(151, 152, 98)
HSLhsl(61, 22%, 49%)
HSVhsv(61, 36%, 60%)
CMYKcmyk(0.7%, 0%, 35.5%, 40.4%)
CIE-LABlab(61.58, -9.02, 28.34)
CIE-LCHlch(61.58, 29.74, 107.66°)
OKLaboklab(66.57% -0.0243 0.0698)
OKLCHoklch(66.57% 0.074 109.2)
XYZxyz(26.1956, 29.9181, 15.9477)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#979862 #636298
analogous
#987E62 #979862 #7C9862
triadic
#979862 #629798 #986297
tetradic
#979862 #62987E #636298 #98627C
square
#979862 #62987E #636298 #98627C
split-complementary
#979862 #627C98 #7E6298
monochromatic
#4D4E32 #72734A #979862 #B0B186 #C9C9AB

Accessibility & contrast

On white

3.01
#979862 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#979862 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #979862
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##979862#FFFFFF#000000##000000
##9798621.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0945E
Deuteranopia (green-blind)
#A19664
Tritanopia (blue-blind)
#9E928A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #979862;
/* rgb */ color: rgb(151, 152, 98);
/* oklch */ color: oklch(66.6% 0.074 109.2);
Tailwind
colors: {
  custom: {
    50: '#b6b68f',
    500: '#979862',
    950: '#000000',
  },
}
SCSS
$custom: #979862;
$custom-light: #b6b68f;
$custom-dark: #000000;
JSON
{
  "hex": "#979862",
  "rgb": {
    "r": 151,
    "g": 152,
    "b": 98
  },
  "hsl": {
    "h": 61.111,
    "s": 21.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.66565,
    "c": 0.07393,
    "h": 109.2
  },
  "luminance": 0.29918
}

Semantic roles & 50–950 ramp

primary
#979862
secondary
#9F9EB8
accent
#6ABE6B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #979862

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

Preview Lab → · Contrast checker → · Palette generator →

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