#998B4C#998B4C

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

Color values

HEX#998B4C
RGBrgb(153, 139, 76)
HSLhsl(49, 34%, 45%)
HSVhsv(49, 50%, 60%)
CMYKcmyk(0%, 9.2%, 50.3%, 40%)
CIE-LABlab(57.81, -3.55, 35.36)
CIE-LCHlch(57.81, 35.54, 95.73°)
OKLaboklab(63.51% -0.0105 0.0844)
OKLCHoklch(63.51% 0.085 97.1)
XYZxyz(23.6747, 25.7603, 10.5612)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998B4C #4C5A99
analogous
#99654C #998B4C #80994C
triadic
#998B4C #4C998B #8B4C99
tetradic
#998B4C #4C9965 #4C5A99 #994C80
square
#998B4C #4C9965 #4C5A99 #994C80
split-complementary
#998B4C #4C8099 #654C99
monochromatic
#474123 #706638 #998B4C #B6A96C #CAC195

Accessibility & contrast

On white

3.41
#998B4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##998B4C#FFFFFF#000000##000000
##998B4C1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998b4c;
/* rgb */ color: rgb(153, 139, 76);
/* oklch */ color: oklch(63.5% 0.085 97.1);
Tailwind
colors: {
  custom: {
    50: '#b9ac7f',
    500: '#998b4c',
    950: '#000000',
  },
}
SCSS
$custom: #998b4c;
$custom-light: #b9ac7f;
$custom-dark: #000000;
JSON
{
  "hex": "#998b4c",
  "rgb": {
    "r": 153,
    "g": 139,
    "b": 76
  },
  "hsl": {
    "h": 49.091,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.63508,
    "c": 0.08505,
    "h": 97.1
  },
  "luminance": 0.25759
}

Semantic roles & 50–950 ramp

primary
#998B4C
secondary
#8A92B7
accent
#72CA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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