#998D5C#998D5C

#998D5C is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.2% C 0.069 H 96.0°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#998D5C
RGBrgb(153, 141, 92)
HSLhsl(48, 25%, 48%)
HSVhsv(48, 40%, 60%)
CMYKcmyk(0%, 7.8%, 39.9%, 40%)
CIE-LABlab(58.60, -2.93, 27.77)
CIE-LCHlch(58.60, 27.92, 96.02°)
OKLaboklab(64.21% -0.0072 0.0682)
OKLCHoklch(64.21% 0.069 96)
XYZxyz(24.5940, 26.5955, 13.9611)
Luminance0.2660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D5C #5C6899
analogous
#996E5C #998D5C #86995C
triadic
#998D5C #5C998D #8D5C99
tetradic
#998D5C #5C996E #5C6899 #995C86
square
#998D5C #5C996E #5C6899 #995C86
split-complementary
#998D5C #5C8699 #6E5C99
monochromatic
#4D472E #736A45 #998D5C #B2A880 #C9C2A6

Accessibility & contrast

On white

3.32
#998D5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#998D5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D5C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D5C#FFFFFF#000000##000000
##998D5C1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B58
Deuteranopia (green-blind)
#9A8F5E
Tritanopia (blue-blind)
#A28681
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998d5c;
/* rgb */ color: rgb(153, 141, 92);
/* oklch */ color: oklch(64.2% 0.069 96.0);
Tailwind
colors: {
  custom: {
    50: '#b8ae8b',
    500: '#998d5c',
    950: '#000000',
  },
}
SCSS
$custom: #998d5c;
$custom-light: #b8ae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#998d5c",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 92
  },
  "hsl": {
    "h": 48.197,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64209,
    "c": 0.06862,
    "h": 96
  },
  "luminance": 0.26595
}

Semantic roles & 50–950 ramp

primary
#998D5C
secondary
#999FB7
accent
#78C166
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998D5C

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

Preview Lab → · Contrast checker → · Palette generator →

#998D5C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva