#98985C#98985C

#98985C is a light, moderate yellow. Relative luminance 0.299; OKLCH L 66.5% C 0.081 H 108.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#98985C
RGBrgb(152, 152, 92)
HSLhsl(60, 25%, 48%)
HSVhsv(60, 39%, 60%)
CMYKcmyk(0%, 0%, 39.5%, 40.4%)
CIE-LABlab(61.57, -9.33, 31.57)
CIE-LCHlch(61.57, 32.92, 106.47°)
OKLaboklab(66.55% -0.0256 0.077)
OKLCHoklch(66.55% 0.081 108.4)
XYZxyz(26.1092, 29.9051, 14.5200)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98985C #5C5C98
analogous
#987A5C #98985C #7A985C
triadic
#98985C #5C9898 #985C98
tetradic
#98985C #5C987A #5C5C98 #985C7A
square
#98985C #5C987A #5C5C98 #985C7A
split-complementary
#98985C #5C7A98 #7A5C98
monochromatic
#4C4C2E #727245 #98985C #B2B27F #C9C9A6

Accessibility & contrast

On white

3.01
#98985C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#98985C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98985C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98985C#FFFFFF#000000##000000
##98985C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19357
Deuteranopia (green-blind)
#A2965F
Tritanopia (blue-blind)
#A09189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98985c;
/* rgb */ color: rgb(152, 152, 92);
/* oklch */ color: oklch(66.5% 0.081 108.4);
Tailwind
colors: {
  custom: {
    50: '#b7b68b',
    500: '#98985c',
    950: '#000000',
  },
}
SCSS
$custom: #98985c;
$custom-light: #b7b68b;
$custom-dark: #000000;
JSON
{
  "hex": "#98985c",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 92
  },
  "hsl": {
    "h": 60,
    "s": 24.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.0811,
    "h": 108.4
  },
  "luminance": 0.29905
}

Semantic roles & 50–950 ramp

primary
#98985C
secondary
#9999B7
accent
#67C167
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #98985C

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

Preview Lab → · Contrast checker → · Palette generator →

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