#998F71#998F71

#998F71 is a light, muted yellow. Relative luminance 0.276; OKLCH L 65.1% C 0.044 H 91.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#998F71
RGBrgb(153, 143, 113)
HSLhsl(45, 16%, 52%)
HSVhsv(45, 26%, 60%)
CMYKcmyk(0%, 6.5%, 26.1%, 40%)
CIE-LABlab(59.53, -1.26, 17.34)
CIE-LCHlch(59.53, 17.39, 94.14°)
OKLaboklab(65.08% -0.0014 0.0441)
OKLCHoklch(65.08% 0.044 91.8)
XYZxyz(25.9401, 27.6101, 19.5824)
Luminance0.2761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F71 #717B99
analogous
#997B71 #998F71 #8F9971
triadic
#998F71 #71998F #8F7199
tetradic
#998F71 #71997B #717B99 #99718F
square
#998F71 #71997B #717B99 #99718F
split-complementary
#998F71 #718F99 #7B7199
monochromatic
#544E3C #776F56 #998F71 #B3AB95 #CCC7B8

Accessibility & contrast

On white

3.22
#998F71 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#998F71 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F71
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F71#FFFFFF#000000##000000
##998F711.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968E6F
Deuteranopia (green-blind)
#989172
Tritanopia (blue-blind)
#A08A87
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #998f71;
/* rgb */ color: rgb(153, 143, 113);
/* oklch */ color: oklch(65.1% 0.044 91.8);
Tailwind
colors: {
  custom: {
    50: '#b7af9a',
    500: '#998f71',
    950: '#000000',
  },
}
SCSS
$custom: #998f71;
$custom-light: #b7af9a;
$custom-dark: #000000;
JSON
{
  "hex": "#998f71",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 113
  },
  "hsl": {
    "h": 45,
    "s": 16.393,
    "l": 52.157
  },
  "oklch": {
    "l": 0.65076,
    "c": 0.04409,
    "h": 91.8
  },
  "luminance": 0.27609
}

Semantic roles & 50–950 ramp

primary
#998F71
secondary
#AAAFBC
accent
#81B96F
background
#FBFAF9
surface
#F6F4F2
border
#D0CECC
text
#11100E
muted
#807F7E

Preview Lab

Preview with #998F71

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

Preview Lab → · Contrast checker → · Palette generator →

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