#998D4F#998D4F

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

Color values

HEX#998D4F
RGBrgb(153, 141, 79)
HSLhsl(50, 32%, 45%)
HSVhsv(50, 48%, 60%)
CMYKcmyk(0%, 7.8%, 48.4%, 40%)
CIE-LABlab(58.40, -4.35, 34.51)
CIE-LCHlch(58.40, 34.79, 97.18°)
OKLaboklab(63.99% -0.0125 0.0828)
OKLCHoklch(63.99% 0.084 98.6)
XYZxyz(24.0737, 26.3874, 11.2208)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D4F #4F5B99
analogous
#99684F #998D4F #80994F
triadic
#998D4F #4F998D #8D4F99
tetradic
#998D4F #4F9968 #4F5B99 #994F80
square
#998D4F #4F9968 #4F5B99 #994F80
split-complementary
#998D4F #4F8099 #684F99
monochromatic
#484325 #71683A #998D4F #B5AA70 #CAC298

Accessibility & contrast

On white

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

On black

6.28
#998D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D4F
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D4F#FFFFFF#000000##000000
##998D4F1.003.356.286.28
#FFFFFF3.351.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998d4f;
/* rgb */ color: rgb(153, 141, 79);
/* oklch */ color: oklch(64.0% 0.084 98.6);
Tailwind
colors: {
  custom: {
    50: '#b9ae81',
    500: '#998d4f',
    950: '#000000',
  },
}
SCSS
$custom: #998d4f;
$custom-light: #b9ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#998d4f",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 50.27,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63992,
    "c": 0.0837,
    "h": 98.6
  },
  "luminance": 0.26387
}

Semantic roles & 50–950 ramp

primary
#998D4F
secondary
#8D94B7
accent
#71C860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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