#998D4A#998D4A

#998D4A is a light, moderate yellow. Relative luminance 0.263; OKLCH L 63.9% C 0.089 H 99.4°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#998D4A
RGBrgb(153, 141, 74)
HSLhsl(51, 35%, 45%)
HSVhsv(51, 52%, 60%)
CMYKcmyk(0%, 7.8%, 51.6%, 40%)
CIE-LABlab(58.34, -4.83, 37.04)
CIE-LCHlch(58.34, 37.36, 97.44°)
OKLaboklab(63.92% -0.0145 0.0879)
OKLCHoklch(63.92% 0.089 99.4)
XYZxyz(23.8985, 26.3173, 10.2981)
Luminance0.2632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D4A #4A5699
analogous
#99664A #998D4A #7E994A
triadic
#998D4A #4A998D #8D4A99
tetradic
#998D4A #4A9966 #4A5699 #994A7E
square
#998D4A #4A9966 #4A5699 #994A7E
split-complementary
#998D4A #4A7E99 #664A99
monochromatic
#474122 #706736 #998D4A #B7AB6A #CBC293

Accessibility & contrast

On white

3.35
#998D4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#998D4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D4A
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D4A#FFFFFF#000000##000000
##998D4A1.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A44
Deuteranopia (green-blind)
#9C8E4D
Tritanopia (blue-blind)
#A3857D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d4a;
/* rgb */ color: rgb(153, 141, 74);
/* oklch */ color: oklch(63.9% 0.089 99.4);
Tailwind
colors: {
  custom: {
    50: '#b9ae7e',
    500: '#998d4a',
    950: '#000000',
  },
}
SCSS
$custom: #998d4a;
$custom-light: #b9ae7e;
$custom-dark: #000000;
JSON
{
  "hex": "#998d4a",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 74
  },
  "hsl": {
    "h": 50.886,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63918,
    "c": 0.08911,
    "h": 99.4
  },
  "luminance": 0.26316
}

Semantic roles & 50–950 ramp

primary
#998D4A
secondary
#888FB7
accent
#6ECB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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