#998B4E#998B4E

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

Color values

HEX#998B4E
RGBrgb(153, 139, 78)
HSLhsl(49, 32%, 45%)
HSVhsv(49, 49%, 60%)
CMYKcmyk(0%, 9.2%, 49%, 40%)
CIE-LABlab(57.84, -3.35, 34.34)
CIE-LCHlch(57.84, 34.51, 95.57°)
OKLaboklab(63.54% -0.0098 0.0823)
OKLCHoklch(63.54% 0.083 96.8)
XYZxyz(23.7453, 25.7885, 10.9331)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B4E #4E5C99
analogous
#99654E #998B4E #81994E
triadic
#998B4E #4E998B #8B4E99
tetradic
#998B4E #4E9965 #4E5C99 #994E81
square
#998B4E #4E9965 #4E5C99 #994E81
split-complementary
#998B4E #4E8199 #654E99
monochromatic
#484125 #706639 #998B4E #B5A86F #CAC197

Accessibility & contrast

On white

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

On black

6.16
#998B4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B4E
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B4E#FFFFFF#000000##000000
##998B4E1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998b4e;
/* rgb */ color: rgb(153, 139, 78);
/* oklch */ color: oklch(63.5% 0.083 96.8);
Tailwind
colors: {
  custom: {
    50: '#b9ac81',
    500: '#998b4e',
    950: '#000000',
  },
}
SCSS
$custom: #998b4e;
$custom-light: #b9ac81;
$custom-dark: #000000;
JSON
{
  "hex": "#998b4e",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 48.8,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63538,
    "c": 0.08287,
    "h": 96.8
  },
  "luminance": 0.25788
}

Semantic roles & 50–950 ramp

primary
#998B4E
secondary
#8C94B7
accent
#73C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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