#998D5F#998D5F

#998D5F is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.3% C 0.065 H 95.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#998D5F
RGBrgb(153, 141, 95)
HSLhsl(48, 23%, 49%)
HSVhsv(48, 38%, 60%)
CMYKcmyk(0%, 7.8%, 37.9%, 40%)
CIE-LABlab(58.65, -2.57, 26.18)
CIE-LCHlch(58.65, 26.31, 95.60°)
OKLaboklab(64.27% -0.006 0.0647)
OKLCHoklch(64.27% 0.065 95.3)
XYZxyz(24.7277, 26.6490, 14.6655)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D5F #5F6B99
analogous
#99705F #998D5F #88995F
triadic
#998D5F #5F998D #8D5F99
tetradic
#998D5F #5F9970 #5F6B99 #995F88
square
#998D5F #5F9970 #5F6B99 #995F88
split-complementary
#998D5F #5F8899 #705F99
monochromatic
#4D4730 #736A48 #998D5F #B2A883 #CAC3A9

Accessibility & contrast

On white

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

On black

6.33
#998D5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D5F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D5F#FFFFFF#000000##000000
##998D5F1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968B5C
Deuteranopia (green-blind)
#998F61
Tritanopia (blue-blind)
#A28681
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998d5f;
/* rgb */ color: rgb(153, 141, 95);
/* oklch */ color: oklch(64.3% 0.065 95.3);
Tailwind
colors: {
  custom: {
    50: '#b8ae8d',
    500: '#998d5f',
    950: '#000000',
  },
}
SCSS
$custom: #998d5f;
$custom-light: #b8ae8d;
$custom-dark: #000000;
JSON
{
  "hex": "#998d5f",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 95
  },
  "hsl": {
    "h": 47.586,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.64265,
    "c": 0.06498,
    "h": 95.3
  },
  "luminance": 0.26648
}

Semantic roles & 50–950 ramp

primary
#998D5F
secondary
#9CA2B8
accent
#7AC068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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