#998D4E#998D4E

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

Color values

HEX#998D4E
RGBrgb(153, 141, 78)
HSLhsl(50, 32%, 45%)
HSVhsv(50, 49%, 60%)
CMYKcmyk(0%, 7.8%, 49%, 40%)
CIE-LABlab(58.39, -4.45, 35.02)
CIE-LCHlch(58.39, 35.30, 97.24°)
OKLaboklab(63.98% -0.0129 0.0838)
OKLCHoklch(63.98% 0.085 98.8)
XYZxyz(24.0376, 26.3730, 11.0305)
Luminance0.2637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D4E #4E5A99
analogous
#99674E #998D4E #7F994E
triadic
#998D4E #4E998D #8D4E99
tetradic
#998D4E #4E9967 #4E5A99 #994E7F
square
#998D4E #4E9967 #4E5A99 #994E7F
split-complementary
#998D4E #4E7F99 #674E99
monochromatic
#484225 #706839 #998D4E #B5AA6F #CAC297

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D4E#FFFFFF#000000##000000
##998D4E1.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)
#988A49
Deuteranopia (green-blind)
#9B8E51
Tritanopia (blue-blind)
#A3857E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d4e;
/* rgb */ color: rgb(153, 141, 78);
/* oklch */ color: oklch(64.0% 0.085 98.8);
Tailwind
colors: {
  custom: {
    50: '#b9ae81',
    500: '#998d4e',
    950: '#000000',
  },
}
SCSS
$custom: #998d4e;
$custom-light: #b9ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#998d4e",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 78
  },
  "hsl": {
    "h": 50.4,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.08479,
    "h": 98.8
  },
  "luminance": 0.26372
}

Semantic roles & 50–950 ramp

primary
#998D4E
secondary
#8C93B7
accent
#70C95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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