#998D5D#998D5D

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

Color values

HEX#998D5D
RGBrgb(153, 141, 93)
HSLhsl(48, 24%, 48%)
HSVhsv(48, 39%, 60%)
CMYKcmyk(0%, 7.8%, 39.2%, 40%)
CIE-LABlab(58.61, -2.81, 27.24)
CIE-LCHlch(58.61, 27.38, 95.89°)
OKLaboklab(64.23% -0.0068 0.0671)
OKLCHoklch(64.23% 0.067 95.8)
XYZxyz(24.6380, 26.6131, 14.1928)
Luminance0.2661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D5D #5D6999
analogous
#996F5D #998D5D #87995D
triadic
#998D5D #5D998D #8D5D99
tetradic
#998D5D #5D996F #5D6999 #995D87
square
#998D5D #5D996F #5D6999 #995D87
split-complementary
#998D5D #5D8799 #6F5D99
monochromatic
#4D472F #736A46 #998D5D #B2A881 #C9C3A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D5D#FFFFFF#000000##000000
##998D5D1.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)
#968B5A
Deuteranopia (green-blind)
#9A8F5F
Tritanopia (blue-blind)
#A28681
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998d5d;
/* rgb */ color: rgb(153, 141, 93);
/* oklch */ color: oklch(64.2% 0.067 95.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae8b',
    500: '#998d5d',
    950: '#000000',
  },
}
SCSS
$custom: #998d5d;
$custom-light: #b8ae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#998d5d",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 48,
    "s": 24.39,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64228,
    "c": 0.06741,
    "h": 95.8
  },
  "luminance": 0.26612
}

Semantic roles & 50–950 ramp

primary
#998D5D
secondary
#9AA0B8
accent
#79C167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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