#998D4D#998D4D

#998D4D is a light, moderate yellow. Relative luminance 0.264; OKLCH L 64.0% C 0.086 H 98.9°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#998D4D
RGBrgb(153, 141, 77)
HSLhsl(51, 33%, 45%)
HSVhsv(51, 50%, 60%)
CMYKcmyk(0%, 7.8%, 49.7%, 40%)
CIE-LABlab(58.38, -4.55, 35.53)
CIE-LCHlch(58.38, 35.82, 97.29°)
OKLaboklab(63.96% -0.0133 0.0848)
OKLCHoklch(63.96% 0.086 98.9)
XYZxyz(24.0020, 26.3587, 10.8432)
Luminance0.2636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D4D #4D5999
analogous
#99674D #998D4D #7F994D
triadic
#998D4D #4D998D #8D4D99
tetradic
#998D4D #4D9967 #4D5999 #994D7F
square
#998D4D #4D9967 #4D5999 #994D7F
split-complementary
#998D4D #4D7F99 #674D99
monochromatic
#484224 #706739 #998D4D #B6AA6D #CAC296

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D4D#FFFFFF#000000##000000
##998D4D1.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)
#988A48
Deuteranopia (green-blind)
#9B8E50
Tritanopia (blue-blind)
#A3857E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d4d;
/* rgb */ color: rgb(153, 141, 77);
/* oklch */ color: oklch(64.0% 0.086 98.9);
Tailwind
colors: {
  custom: {
    50: '#b9ae80',
    500: '#998d4d',
    950: '#000000',
  },
}
SCSS
$custom: #998d4d;
$custom-light: #b9ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#998d4d",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 77
  },
  "hsl": {
    "h": 50.526,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.63961,
    "c": 0.08588,
    "h": 98.9
  },
  "luminance": 0.26358
}

Semantic roles & 50–950 ramp

primary
#998D4D
secondary
#8B92B7
accent
#6FC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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