#98996D#98996D

#98996D is a light, moderate yellow. Relative luminance 0.306; OKLCH L 67.1% C 0.061 H 109.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#98996D
RGBrgb(152, 153, 109)
HSLhsl(61, 18%, 51%)
HSVhsv(61, 29%, 60%)
CMYKcmyk(0.7%, 0%, 28.8%, 40%)
CIE-LABlab(62.14, -7.70, 23.08)
CIE-LCHlch(62.14, 24.33, 108.46°)
OKLaboklab(67.09% -0.0199 0.0578)
OKLCHoklch(67.09% 0.061 109)
XYZxyz(27.1005, 30.5624, 18.9365)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98996D #6E6D99
analogous
#99846D #98996D #82996D
triadic
#98996D #6D9899 #996D98
tetradic
#98996D #6D9984 #6E6D99 #996D82
square
#98996D #6D9984 #6E6D99 #996D82
split-complementary
#98996D #6D8299 #846D99
monochromatic
#525239 #757653 #98996D #B1B291 #CBCBB5

Accessibility & contrast

On white

2.95
#98996D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#98996D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98996D
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98996D#FFFFFF#000000##000000
##98996D1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0956A
Deuteranopia (green-blind)
#A1976F
Tritanopia (blue-blind)
#9E948D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #98996d;
/* rgb */ color: rgb(152, 153, 109);
/* oklch */ color: oklch(67.1% 0.061 109.0);
Tailwind
colors: {
  custom: {
    50: '#b7b797',
    500: '#98996d',
    950: '#000000',
  },
}
SCSS
$custom: #98996d;
$custom-light: #b7b797;
$custom-dark: #000000;
JSON
{
  "hex": "#98996d",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 109
  },
  "hsl": {
    "h": 61.364,
    "s": 17.742,
    "l": 51.373
  },
  "oklch": {
    "l": 0.67087,
    "c": 0.06117,
    "h": 109
  },
  "luminance": 0.30562
}

Semantic roles & 50–950 ramp

primary
#98996D
secondary
#A8A7BB
accent
#6DBA6F
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #98996D

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

Preview Lab → · Contrast checker → · Palette generator →

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