#98985F#98985F

#98985F is a light, moderate yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.077 H 108.3°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#98985F
RGBrgb(152, 152, 95)
HSLhsl(60, 23%, 48%)
HSVhsv(60, 38%, 60%)
CMYKcmyk(0%, 0%, 37.5%, 40.4%)
CIE-LABlab(61.62, -8.98, 30.02)
CIE-LCHlch(61.62, 31.33, 106.65°)
OKLaboklab(66.6% -0.0244 0.0736)
OKLCHoklch(66.6% 0.078 108.3)
XYZxyz(26.2430, 29.9586, 15.2244)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98985F #5F5F98
analogous
#987B5F #98985F #7B985F
triadic
#98985F #5F9898 #985F98
tetradic
#98985F #5F987B #5F5F98 #985F7B
square
#98985F #5F987B #5F5F98 #985F7B
split-complementary
#98985F #5F7B98 #7B5F98
monochromatic
#4D4D30 #727247 #98985F #B1B183 #C9C9A8

Accessibility & contrast

On white

3.00
#98985F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#98985F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98985F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98985F#FFFFFF#000000##000000
##98985F1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945B
Deuteranopia (green-blind)
#A29661
Tritanopia (blue-blind)
#A0918A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #98985f;
/* rgb */ color: rgb(152, 152, 95);
/* oklch */ color: oklch(66.6% 0.077 108.3);
Tailwind
colors: {
  custom: {
    50: '#b7b68d',
    500: '#98985f',
    950: '#000000',
  },
}
SCSS
$custom: #98985f;
$custom-light: #b7b68d;
$custom-dark: #000000;
JSON
{
  "hex": "#98985f",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 95
  },
  "hsl": {
    "h": 60,
    "s": 23.077,
    "l": 48.431
  },
  "oklch": {
    "l": 0.66598,
    "c": 0.0775,
    "h": 108.3
  },
  "luminance": 0.29958
}

Semantic roles & 50–950 ramp

primary
#98985F
secondary
#9C9CB7
accent
#68C068
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11110C
muted
#80807D

Preview Lab

Preview with #98985F

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

Preview Lab → · Contrast checker → · Palette generator →

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