#98975C#98975C

#98975C is a light, moderate yellow. Relative luminance 0.296; OKLCH L 66.3% C 0.080 H 107.6°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#98975C
RGBrgb(152, 151, 92)
HSLhsl(59, 25%, 48%)
HSVhsv(59, 39%, 60%)
CMYKcmyk(0%, 0.7%, 39.5%, 40.4%)
CIE-LABlab(61.29, -8.80, 31.21)
CIE-LCHlch(61.29, 32.42, 105.74°)
OKLaboklab(66.32% -0.0241 0.0761)
OKLCHoklch(66.32% 0.08 107.6)
XYZxyz(25.9476, 29.5819, 14.4661)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#98975C #5C5D98
analogous
#98795C #98975C #7B985C
triadic
#98975C #5C9897 #975C98
tetradic
#98975C #5C9879 #5C5D98 #985C7B
square
#98975C #5C9879 #5C5D98 #985C7B
split-complementary
#98975C #5C7B98 #795C98
monochromatic
#4C4B2E #727145 #98975C #B2B17F #C9C8A6

Accessibility & contrast

On white

3.04
#98975C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#98975C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #98975C
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##98975C#FFFFFF#000000##000000
##98975C1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A09358
Deuteranopia (green-blind)
#A1955F
Tritanopia (blue-blind)
#A09088
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #98975c;
/* rgb */ color: rgb(152, 151, 92);
/* oklch */ color: oklch(66.3% 0.080 107.6);
Tailwind
colors: {
  custom: {
    50: '#b7b58b',
    500: '#98975c',
    950: '#000000',
  },
}
SCSS
$custom: #98975c;
$custom-light: #b7b58b;
$custom-dark: #000000;
JSON
{
  "hex": "#98975c",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 92
  },
  "hsl": {
    "h": 59,
    "s": 24.59,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66323,
    "c": 0.07986,
    "h": 107.6
  },
  "luminance": 0.29581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #98975C

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

Preview Lab → · Contrast checker → · Palette generator →

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