#98995C#98995C

#98995C is a light, moderate yellow. Relative luminance 0.302; OKLCH L 66.8% C 0.082 H 109.2°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#98995C
RGBrgb(152, 153, 92)
HSLhsl(61, 25%, 48%)
HSVhsv(61, 40%, 60%)
CMYKcmyk(0.7%, 0%, 39.9%, 40%)
CIE-LABlab(61.85, -9.87, 31.92)
CIE-LCHlch(61.85, 33.41, 107.18°)
OKLaboklab(66.77% -0.0271 0.0778)
OKLCHoklch(66.77% 0.082 109.2)
XYZxyz(26.2722, 30.2311, 14.5743)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98995C #5D5C99
analogous
#997B5C #98995C #79995C
triadic
#98995C #5C9899 #995C98
tetradic
#98995C #5C997B #5D5C99 #995C79
square
#98995C #5C997B #5D5C99 #995C79
split-complementary
#98995C #5C7999 #7B5C99
monochromatic
#4C4D2E #727345 #98995C #B2B280 #C9C9A6

Accessibility & contrast

On white

2.98
#98995C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#98995C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #98995C
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98995C#FFFFFF#000000##000000
##98995C1.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)
#A29457
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#A0928A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98995c;
/* rgb */ color: rgb(152, 153, 92);
/* oklch */ color: oklch(66.8% 0.082 109.2);
Tailwind
colors: {
  custom: {
    50: '#b7b78b',
    500: '#98995c',
    950: '#000000',
  },
}
SCSS
$custom: #98995c;
$custom-light: #b7b78b;
$custom-dark: #000000;
JSON
{
  "hex": "#98995c",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 92
  },
  "hsl": {
    "h": 60.984,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.66769,
    "c": 0.08236,
    "h": 109.2
  },
  "luminance": 0.30231
}

Semantic roles & 50–950 ramp

primary
#98995C
secondary
#9A99B7
accent
#66C168
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #98995C

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

Preview Lab → · Contrast checker → · Palette generator →

#98995C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva