#98996B#98996B

#98996B is a light, moderate yellow. Relative luminance 0.305; OKLCH L 67.0% C 0.064 H 109.0°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#98996B
RGBrgb(152, 153, 107)
HSLhsl(61, 18%, 51%)
HSVhsv(61, 30%, 60%)
CMYKcmyk(0.7%, 0%, 30.1%, 40%)
CIE-LABlab(62.10, -7.98, 24.13)
CIE-LCHlch(62.10, 25.42, 108.30°)
OKLaboklab(67.05% -0.0208 0.0603)
OKLCHoklch(67.05% 0.064 109)
XYZxyz(26.9941, 30.5198, 18.3759)
Luminance0.3052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98996B #6C6B99
analogous
#99836B #98996B #81996B
triadic
#98996B #6B9899 #996B98
tetradic
#98996B #6B9983 #6C6B99 #996B81
square
#98996B #6B9983 #6C6B99 #996B81
split-complementary
#98996B #6B8199 #836B99
monochromatic
#515138 #757651 #98996B #B1B28F #CACBB3

Accessibility & contrast

On white

2.96
#98996B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#98996B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98996B
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98996B#FFFFFF#000000##000000
##98996B1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09568
Deuteranopia (green-blind)
#A1976D
Tritanopia (blue-blind)
#9E938D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #98996b;
/* rgb */ color: rgb(152, 153, 107);
/* oklch */ color: oklch(67.0% 0.064 109.0);
Tailwind
colors: {
  custom: {
    50: '#b7b795',
    500: '#98996b',
    950: '#000000',
  },
}
SCSS
$custom: #98996b;
$custom-light: #b7b795;
$custom-dark: #000000;
JSON
{
  "hex": "#98996b",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 107
  },
  "hsl": {
    "h": 61.304,
    "s": 18.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.67046,
    "c": 0.06376,
    "h": 109
  },
  "luminance": 0.30519
}

Semantic roles & 50–950 ramp

primary
#98996B
secondary
#A6A6BA
accent
#6DBB6E
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #98996B

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

Preview Lab → · Contrast checker → · Palette generator →

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