#998F5F#998F5F

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

Color values

HEX#998F5F
RGBrgb(153, 143, 95)
HSLhsl(50, 23%, 49%)
HSVhsv(50, 38%, 60%)
CMYKcmyk(0%, 6.5%, 37.9%, 40%)
CIE-LABlab(59.20, -3.67, 26.90)
CIE-LCHlch(59.20, 27.15, 97.77°)
OKLaboklab(64.7% -0.0091 0.0664)
OKLCHoklch(64.7% 0.067 97.8)
XYZxyz(25.0253, 27.2442, 14.7646)
Luminance0.2724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F5F #5F6999
analogous
#99725F #998F5F #86995F
triadic
#998F5F #5F998F #8F5F99
tetradic
#998F5F #5F9972 #5F6999 #995F86
square
#998F5F #5F9972 #5F6999 #995F86
split-complementary
#998F5F #5F8699 #725F99
monochromatic
#4D4830 #736C48 #998F5F #B2AA83 #CAC4A9

Accessibility & contrast

On white

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

On black

6.45
#998F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F5F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F5F#FFFFFF#000000##000000
##998F5F1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C5C
Deuteranopia (green-blind)
#9B9061
Tritanopia (blue-blind)
#A18883
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f5f;
/* rgb */ color: rgb(153, 143, 95);
/* oklch */ color: oklch(64.7% 0.067 97.8);
Tailwind
colors: {
  custom: {
    50: '#b8af8d',
    500: '#998f5f',
    950: '#000000',
  },
}
SCSS
$custom: #998f5f;
$custom-light: #b8af8d;
$custom-dark: #000000;
JSON
{
  "hex": "#998f5f",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 49.655,
    "s": 23.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.64701,
    "c": 0.06701,
    "h": 97.8
  },
  "luminance": 0.27243
}

Semantic roles & 50–950 ramp

primary
#998F5F
secondary
#9CA1B8
accent
#77C068
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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