#998D4B#998D4B

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

Color values

HEX#998D4B
RGBrgb(153, 141, 75)
HSLhsl(51, 34%, 45%)
HSVhsv(51, 51%, 60%)
CMYKcmyk(0%, 7.8%, 51%, 40%)
CIE-LABlab(58.35, -4.74, 36.54)
CIE-LCHlch(58.35, 36.85, 97.39°)
OKLaboklab(63.93% -0.0141 0.0869)
OKLCHoklch(63.93% 0.088 99.2)
XYZxyz(23.9325, 26.3309, 10.4770)
Luminance0.2633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D4B #4B5799
analogous
#99664B #998D4B #7E994B
triadic
#998D4B #4B998D #8D4B99
tetradic
#998D4B #4B9966 #4B5799 #994B7E
square
#998D4B #4B9966 #4B5799 #994B7E
split-complementary
#998D4B #4B7E99 #664B99
monochromatic
#474123 #706737 #998D4B #B6AB6B #CBC294

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998D4B#FFFFFF#000000##000000
##998D4B1.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)
#988A45
Deuteranopia (green-blind)
#9C8E4E
Tritanopia (blue-blind)
#A3857E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #998d4b;
/* rgb */ color: rgb(153, 141, 75);
/* oklch */ color: oklch(63.9% 0.088 99.2);
Tailwind
colors: {
  custom: {
    50: '#b9ae7f',
    500: '#998d4b',
    950: '#000000',
  },
}
SCSS
$custom: #998d4b;
$custom-light: #b9ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#998d4b",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 75
  },
  "hsl": {
    "h": 50.769,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.63932,
    "c": 0.08804,
    "h": 99.2
  },
  "luminance": 0.2633
}

Semantic roles & 50–950 ramp

primary
#998D4B
secondary
#8990B7
accent
#6ECA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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