#998F4D#998F4D

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

Color values

HEX#998F4D
RGBrgb(153, 143, 77)
HSLhsl(52, 33%, 45%)
HSVhsv(52, 50%, 60%)
CMYKcmyk(0%, 6.5%, 49.7%, 40%)
CIE-LABlab(58.93, -5.64, 36.21)
CIE-LCHlch(58.93, 36.64, 98.86°)
OKLaboklab(64.4% -0.0165 0.0863)
OKLCHoklch(64.4% 0.088 100.8)
XYZxyz(24.2996, 26.9539, 10.9424)
Luminance0.2695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F4D #4D5799
analogous
#99694D #998F4D #7D994D
triadic
#998F4D #4D998F #8F4D99
tetradic
#998F4D #4D9969 #4D5799 #994D7D
square
#998F4D #4D9969 #4D5799 #994D7D
split-complementary
#998F4D #4D7D99 #694D99
monochromatic
#484324 #706939 #998F4D #B6AC6D #CAC396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F4D#FFFFFF#000000##000000
##998F4D1.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)
#9A8B47
Deuteranopia (green-blind)
#9D9050
Tritanopia (blue-blind)
#A3877F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f4d;
/* rgb */ color: rgb(153, 143, 77);
/* oklch */ color: oklch(64.4% 0.088 100.8);
Tailwind
colors: {
  custom: {
    50: '#b9af80',
    500: '#998f4d',
    950: '#000000',
  },
}
SCSS
$custom: #998f4d;
$custom-light: #b9af80;
$custom-dark: #000000;
JSON
{
  "hex": "#998f4d",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 52.105,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64402,
    "c": 0.0879,
    "h": 100.8
  },
  "luminance": 0.26953
}

Semantic roles & 50–950 ramp

primary
#998F4D
secondary
#8B91B7
accent
#6DC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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