#98996F#98996F

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

Color values

HEX#98996F
RGBrgb(152, 153, 111)
HSLhsl(61, 17%, 52%)
HSVhsv(61, 27%, 60%)
CMYKcmyk(0.7%, 0%, 27.5%, 40%)
CIE-LABlab(62.17, -7.42, 22.03)
CIE-LCHlch(62.17, 23.25, 108.62°)
OKLaboklab(67.13% -0.0191 0.0554)
OKLCHoklch(67.13% 0.059 109)
XYZxyz(27.2094, 30.6059, 19.5100)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98996F #706F99
analogous
#99856F #98996F #83996F
triadic
#98996F #6F9899 #996F98
tetradic
#98996F #6F9985 #706F99 #996F83
square
#98996F #6F9985 #706F99 #996F83
split-complementary
#98996F #6F8399 #856F99
monochromatic
#52533B #767754 #98996F #B2B293 #CBCCB7

Accessibility & contrast

On white

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

On black

7.12
#98996F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98996F
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98996F#FFFFFF#000000##000000
##98996F1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0956C
Deuteranopia (green-blind)
#A09771
Tritanopia (blue-blind)
#9E948E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #98996f;
/* rgb */ color: rgb(152, 153, 111);
/* oklch */ color: oklch(67.1% 0.059 109.0);
Tailwind
colors: {
  custom: {
    50: '#b7b798',
    500: '#98996f',
    950: '#000000',
  },
}
SCSS
$custom: #98996f;
$custom-light: #b7b798;
$custom-dark: #000000;
JSON
{
  "hex": "#98996f",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 111
  },
  "hsl": {
    "h": 61.429,
    "s": 17.073,
    "l": 51.765
  },
  "oklch": {
    "l": 0.67128,
    "c": 0.05857,
    "h": 109
  },
  "luminance": 0.30606
}

Semantic roles & 50–950 ramp

primary
#98996F
secondary
#A9A9BB
accent
#6EBA70
background
#FBFBF9
surface
#F6F6F2
border
#D0D0CC
text
#11110D
muted
#80807E

Preview Lab

Preview with #98996F

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

Preview Lab → · Contrast checker → · Palette generator →

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