#998B4D#998B4D

#998B4D is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.5% C 0.084 H 96.9°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#998B4D
RGBrgb(153, 139, 77)
HSLhsl(49, 33%, 45%)
HSVhsv(49, 50%, 60%)
CMYKcmyk(0%, 9.2%, 49.7%, 40%)
CIE-LABlab(57.82, -3.45, 34.85)
CIE-LCHlch(57.82, 35.02, 95.65°)
OKLaboklab(63.52% -0.0102 0.0833)
OKLCHoklch(63.52% 0.084 96.9)
XYZxyz(23.7098, 25.7743, 10.7458)
Luminance0.2577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B4D #4D5B99
analogous
#99654D #998B4D #81994D
triadic
#998B4D #4D998B #8B4D99
tetradic
#998B4D #4D9965 #4D5B99 #994D81
square
#998B4D #4D9965 #4D5B99 #994D81
split-complementary
#998B4D #4D8199 #654D99
monochromatic
#484124 #706639 #998B4D #B6A86D #CAC196

Accessibility & contrast

On white

3.41
#998B4D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#998B4D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B4D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B4D#FFFFFF#000000##000000
##998B4D1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968848
Deuteranopia (green-blind)
#9A8D50
Tritanopia (blue-blind)
#A3837C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998b4d;
/* rgb */ color: rgb(153, 139, 77);
/* oklch */ color: oklch(63.5% 0.084 96.9);
Tailwind
colors: {
  custom: {
    50: '#b9ac80',
    500: '#998b4d',
    950: '#000000',
  },
}
SCSS
$custom: #998b4d;
$custom-light: #b9ac80;
$custom-dark: #000000;
JSON
{
  "hex": "#998b4d",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 77
  },
  "hsl": {
    "h": 48.947,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63523,
    "c": 0.08397,
    "h": 96.9
  },
  "luminance": 0.25773
}

Semantic roles & 50–950 ramp

primary
#998B4D
secondary
#8B93B7
accent
#72C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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