#998F4C#998F4C

#998F4C is a light, moderate yellow. Relative luminance 0.269; OKLCH L 64.4% C 0.089 H 100.9°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#998F4C
RGBrgb(153, 143, 76)
HSLhsl(52, 34%, 45%)
HSVhsv(52, 50%, 60%)
CMYKcmyk(0%, 6.5%, 50.3%, 40%)
CIE-LABlab(58.92, -5.74, 36.71)
CIE-LCHlch(58.92, 37.16, 98.89°)
OKLaboklab(64.39% -0.0169 0.0874)
OKLCHoklch(64.39% 0.089 100.9)
XYZxyz(24.2645, 26.9399, 10.7578)
Luminance0.2694 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F4C #4C5699
analogous
#99694C #998F4C #7C994C
triadic
#998F4C #4C998F #8F4C99
tetradic
#998F4C #4C9969 #4C5699 #994C7C
square
#998F4C #4C9969 #4C5699 #994C7C
split-complementary
#998F4C #4C7C99 #694C99
monochromatic
#474323 #706938 #998F4C #B6AC6C #CAC395

Accessibility & contrast

On white

3.29
#998F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#998F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F4C
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F4C#FFFFFF#000000##000000
##998F4C1.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B46
Deuteranopia (green-blind)
#9D904F
Tritanopia (blue-blind)
#A3877F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f4c;
/* rgb */ color: rgb(153, 143, 76);
/* oklch */ color: oklch(64.4% 0.089 100.9);
Tailwind
colors: {
  custom: {
    50: '#b9af80',
    500: '#998f4c',
    950: '#000000',
  },
}
SCSS
$custom: #998f4c;
$custom-light: #b9af80;
$custom-dark: #000000;
JSON
{
  "hex": "#998f4c",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 52.208,
    "s": 33.624,
    "l": 44.902
  },
  "oklch": {
    "l": 0.64387,
    "c": 0.08897,
    "h": 100.9
  },
  "luminance": 0.26939
}

Semantic roles & 50–950 ramp

primary
#998F4C
secondary
#8A90B7
accent
#6CCA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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