#98986D#98986D

#98986D is a light, muted yellow. Relative luminance 0.302; OKLCH L 66.9% C 0.060 H 107.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#98986D
RGBrgb(152, 152, 109)
HSLhsl(60, 17%, 51%)
HSVhsv(60, 28%, 60%)
CMYKcmyk(0%, 0%, 28.3%, 40.4%)
CIE-LABlab(61.86, -7.16, 22.71)
CIE-LCHlch(61.86, 23.81, 107.51°)
OKLaboklab(66.87% -0.0184 0.0569)
OKLCHoklch(66.87% 0.06 107.9)
XYZxyz(26.9375, 30.2364, 18.8822)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98986D #6D6D98
analogous
#98826D #98986D #82986D
triadic
#98986D #6D9898 #986D98
tetradic
#98986D #6D9882 #6D6D98 #986D82
square
#98986D #6D9882 #6D6D98 #986D82
split-complementary
#98986D #6D8298 #826D98
monochromatic
#515139 #757553 #98986D #B1B191 #CBCBB5

Accessibility & contrast

On white

2.98
#98986D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#98986D on #000000
AA ✓AA large ✓AAA ✓

Best text color

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

Contrast matrix

fg \ bg##98986D#FFFFFF#000000##000000
##98986D1.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)
#9F946A
Deuteranopia (green-blind)
#A0966F
Tritanopia (blue-blind)
#9E938D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98986d;
/* rgb */ color: rgb(152, 152, 109);
/* oklch */ color: oklch(66.9% 0.060 107.9);
Tailwind
colors: {
  custom: {
    50: '#b7b697',
    500: '#98986d',
    950: '#000000',
  },
}
SCSS
$custom: #98986d;
$custom-light: #b7b697;
$custom-dark: #000000;
JSON
{
  "hex": "#98986d",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 109
  },
  "hsl": {
    "h": 60,
    "s": 17.269,
    "l": 51.176
  },
  "oklch": {
    "l": 0.66866,
    "c": 0.05984,
    "h": 107.9
  },
  "luminance": 0.30236
}

Semantic roles & 50–950 ramp

primary
#98986D
secondary
#A7A7BA
accent
#6EBA6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #98986D

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

Preview Lab → · Contrast checker → · Palette generator →

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