#98986A#98986A

#98986A is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.064 H 108.0°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#98986A
RGBrgb(152, 152, 106)
HSLhsl(60, 18%, 51%)
HSVhsv(60, 30%, 60%)
CMYKcmyk(0%, 0%, 30.3%, 40.4%)
CIE-LABlab(61.80, -7.57, 24.28)
CIE-LCHlch(61.80, 25.44, 107.32°)
OKLaboklab(66.8% -0.0197 0.0606)
OKLCHoklch(66.8% 0.064 108)
XYZxyz(26.7788, 30.1729, 18.0461)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98986A #6A6A98
analogous
#98816A #98986A #81986A
triadic
#98986A #6A9898 #986A98
tetradic
#98986A #6A9881 #6A6A98 #986A81
square
#98986A #6A9881 #6A6A98 #986A81
split-complementary
#98986A #6A8198 #816A98
monochromatic
#505037 #747450 #98986A #B1B18E #CACAB2

Accessibility & contrast

On white

2.99
#98986A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#98986A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98986A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98986A#FFFFFF#000000##000000
##98986A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9467
Deuteranopia (green-blind)
#A0966C
Tritanopia (blue-blind)
#9F928C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98986a;
/* rgb */ color: rgb(152, 152, 106);
/* oklch */ color: oklch(66.8% 0.064 108.0);
Tailwind
colors: {
  custom: {
    50: '#b7b695',
    500: '#98986a',
    950: '#000000',
  },
}
SCSS
$custom: #98986a;
$custom-light: #b7b695;
$custom-dark: #000000;
JSON
{
  "hex": "#98986a",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 106
  },
  "hsl": {
    "h": 60,
    "s": 18.254,
    "l": 50.588
  },
  "oklch": {
    "l": 0.66804,
    "c": 0.06373,
    "h": 108
  },
  "luminance": 0.30172
}

Semantic roles & 50–950 ramp

primary
#98986A
secondary
#A5A5B9
accent
#6DBB6D
background
#FBFBF9
surface
#F6F6F1
border
#D0D0CB
text
#11110D
muted
#80807E

Preview Lab

Preview with #98986A

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

Preview Lab → · Contrast checker → · Palette generator →

#98986A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva