#98985B#98985B

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

Color values

HEX#98985B
RGBrgb(152, 152, 91)
HSLhsl(60, 25%, 48%)
HSVhsv(60, 40%, 60%)
CMYKcmyk(0%, 0%, 40.1%, 40.4%)
CIE-LABlab(61.56, -9.45, 32.08)
CIE-LCHlch(61.56, 33.44, 106.41°)
OKLaboklab(66.53% -0.026 0.0781)
OKLCHoklch(66.53% 0.082 108.4)
XYZxyz(26.0658, 29.8877, 14.2913)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98985B #5B5B98
analogous
#98795B #98985B #79985B
triadic
#98985B #5B9898 #985B98
tetradic
#98985B #5B9879 #5B5B98 #985B79
square
#98985B #5B9879 #5B5B98 #985B79
split-complementary
#98985B #5B7998 #795B98
monochromatic
#4B4B2D #727244 #98985B #B2B27E #C9C9A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##98985B#FFFFFF#000000##000000
##98985B1.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)
#A19356
Deuteranopia (green-blind)
#A2965E
Tritanopia (blue-blind)
#A09189
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98985b;
/* rgb */ color: rgb(152, 152, 91);
/* oklch */ color: oklch(66.5% 0.082 108.4);
Tailwind
colors: {
  custom: {
    50: '#b7b68a',
    500: '#98985b',
    950: '#000000',
  },
}
SCSS
$custom: #98985b;
$custom-light: #b7b68a;
$custom-dark: #000000;
JSON
{
  "hex": "#98985b",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 91
  },
  "hsl": {
    "h": 60,
    "s": 25.103,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.0823,
    "h": 108.4
  },
  "luminance": 0.29887
}

Semantic roles & 50–950 ramp

primary
#98985B
secondary
#9898B7
accent
#66C266
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #98985B

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

Preview Lab → · Contrast checker → · Palette generator →

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