#998F5D#998F5D

#998F5D is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.7% C 0.069 H 98.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#998F5D
RGBrgb(153, 143, 93)
HSLhsl(50, 24%, 48%)
HSVhsv(50, 39%, 60%)
CMYKcmyk(0%, 6.5%, 39.2%, 40%)
CIE-LABlab(59.17, -3.91, 27.96)
CIE-LCHlch(59.17, 28.23, 97.96°)
OKLaboklab(64.66% -0.01 0.0687)
OKLCHoklch(64.66% 0.069 98.3)
XYZxyz(24.9356, 27.2083, 14.2920)
Luminance0.2721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F5D #5D6799
analogous
#99715D #998F5D #85995D
triadic
#998F5D #5D998F #8F5D99
tetradic
#998F5D #5D9971 #5D6799 #995D85
square
#998F5D #5D9971 #5D6799 #995D85
split-complementary
#998F5D #5D8599 #715D99
monochromatic
#4D482F #736B46 #998F5D #B2AA81 #C9C4A7

Accessibility & contrast

On white

3.26
#998F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#998F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F5D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F5D#FFFFFF#000000##000000
##998F5D1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C59
Deuteranopia (green-blind)
#9B905F
Tritanopia (blue-blind)
#A28882
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f5d;
/* rgb */ color: rgb(153, 143, 93);
/* oklch */ color: oklch(64.7% 0.069 98.3);
Tailwind
colors: {
  custom: {
    50: '#b8af8b',
    500: '#998f5d',
    950: '#000000',
  },
}
SCSS
$custom: #998f5d;
$custom-light: #b8af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#998f5d",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 50,
    "s": 24.39,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64664,
    "c": 0.06945,
    "h": 98.3
  },
  "luminance": 0.27208
}

Semantic roles & 50–950 ramp

primary
#998F5D
secondary
#9A9FB8
accent
#76C167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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