#998B4A#998B4A

#998B4A is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.5% C 0.087 H 97.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#998B4A
RGBrgb(153, 139, 74)
HSLhsl(49, 35%, 45%)
HSVhsv(49, 52%, 60%)
CMYKcmyk(0%, 9.2%, 51.6%, 40%)
CIE-LABlab(57.78, -3.74, 36.38)
CIE-LCHlch(57.78, 36.57, 95.87°)
OKLaboklab(63.48% -0.0113 0.0865)
OKLCHoklch(63.48% 0.087 97.5)
XYZxyz(23.6063, 25.7329, 10.2007)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B4A #4A5899
analogous
#99644A #998B4A #80994A
triadic
#998B4A #4A998B #8B4A99
tetradic
#998B4A #4A9964 #4A5899 #994A80
square
#998B4A #4A9964 #4A5899 #994A80
split-complementary
#998B4A #4A8099 #644A99
monochromatic
#474022 #706636 #998B4A #B7A96A #CBC193

Accessibility & contrast

On white

3.42
#998B4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#998B4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998B4A
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998B4A#FFFFFF#000000##000000
##998B4A1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968844
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#A3837C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #998b4a;
/* rgb */ color: rgb(153, 139, 74);
/* oklch */ color: oklch(63.5% 0.087 97.5);
Tailwind
colors: {
  custom: {
    50: '#b9ac7e',
    500: '#998b4a',
    950: '#000000',
  },
}
SCSS
$custom: #998b4a;
$custom-light: #b9ac7e;
$custom-dark: #000000;
JSON
{
  "hex": "#998b4a",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 74
  },
  "hsl": {
    "h": 49.367,
    "s": 34.802,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63479,
    "c": 0.08719,
    "h": 97.5
  },
  "luminance": 0.25732
}

Semantic roles & 50–950 ramp

primary
#998B4A
secondary
#8890B7
accent
#70CB5D
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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