#998D4C#998D4C

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

Color values

HEX#998D4C
RGBrgb(153, 141, 76)
HSLhsl(51, 34%, 45%)
HSVhsv(51, 50%, 60%)
CMYKcmyk(0%, 7.8%, 50.3%, 40%)
CIE-LABlab(58.36, -4.64, 36.04)
CIE-LCHlch(58.36, 36.34, 97.34°)
OKLaboklab(63.95% -0.0137 0.0859)
OKLCHoklch(63.95% 0.087 99.1)
XYZxyz(23.9670, 26.3447, 10.6586)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D4C #4C5899
analogous
#99664C #998D4C #7F994C
triadic
#998D4C #4C998D #8D4C99
tetradic
#998D4C #4C9966 #4C5899 #994C7F
square
#998D4C #4C9966 #4C5899 #994C7F
split-complementary
#998D4C #4C7F99 #664C99
monochromatic
#474223 #706738 #998D4C #B6AB6C #CAC295

Accessibility & contrast

On white

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

On black

6.27
#998D4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D4C
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D4C#FFFFFF#000000##000000
##998D4C1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A46
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#A3857E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d4c;
/* rgb */ color: rgb(153, 141, 76);
/* oklch */ color: oklch(63.9% 0.087 99.1);
Tailwind
colors: {
  custom: {
    50: '#b9ae7f',
    500: '#998d4c',
    950: '#000000',
  },
}
SCSS
$custom: #998d4c;
$custom-light: #b9ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#998d4c",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 76
  },
  "hsl": {
    "h": 50.649,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63947,
    "c": 0.08697,
    "h": 99.1
  },
  "luminance": 0.26344
}

Semantic roles & 50–950 ramp

primary
#998D4C
secondary
#8A91B7
accent
#6FCA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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