#98986B#98986B

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

Color values

HEX#98986B
RGBrgb(152, 152, 107)
HSLhsl(60, 18%, 51%)
HSVhsv(60, 30%, 60%)
CMYKcmyk(0%, 0%, 29.6%, 40.4%)
CIE-LABlab(61.82, -7.44, 23.76)
CIE-LCHlch(61.82, 24.90, 107.38°)
OKLaboklab(66.83% -0.0193 0.0594)
OKLCHoklch(66.83% 0.062 108)
XYZxyz(26.8311, 30.1938, 18.3216)
Luminance0.3019 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98986B #6B6B98
analogous
#98816B #98986B #81986B
triadic
#98986B #6B9898 #986B98
tetradic
#98986B #6B9881 #6B6B98 #986B81
square
#98986B #6B9881 #6B6B98 #986B81
split-complementary
#98986B #6B8198 #816B98
monochromatic
#515138 #757551 #98986B #B1B18F #CACAB3

Accessibility & contrast

On white

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

On black

7.04
#98986B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98986B
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98986B#FFFFFF#000000##000000
##98986B1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F9468
Deuteranopia (green-blind)
#A0966D
Tritanopia (blue-blind)
#9E928C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98986b;
/* rgb */ color: rgb(152, 152, 107);
/* oklch */ color: oklch(66.8% 0.062 108.0);
Tailwind
colors: {
  custom: {
    50: '#b7b695',
    500: '#98986b',
    950: '#000000',
  },
}
SCSS
$custom: #98986b;
$custom-light: #b7b695;
$custom-dark: #000000;
JSON
{
  "hex": "#98986b",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 107
  },
  "hsl": {
    "h": 60,
    "s": 17.928,
    "l": 50.784
  },
  "oklch": {
    "l": 0.66825,
    "c": 0.06244,
    "h": 108
  },
  "luminance": 0.30193
}

Semantic roles & 50–950 ramp

primary
#98986B
secondary
#A5A5B9
accent
#6DBB6D
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #98986B

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

Preview Lab → · Contrast checker → · Palette generator →

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