#998F5C#998F5C

#998F5C is a light, moderate yellow. Relative luminance 0.272; OKLCH L 64.6% C 0.071 H 98.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#998F5C
RGBrgb(153, 143, 92)
HSLhsl(50, 25%, 48%)
HSVhsv(50, 40%, 60%)
CMYKcmyk(0%, 6.5%, 39.9%, 40%)
CIE-LABlab(59.15, -4.03, 28.48)
CIE-LCHlch(59.15, 28.76, 98.05°)
OKLaboklab(64.65% -0.0104 0.0699)
OKLCHoklch(64.65% 0.071 98.5)
XYZxyz(24.8916, 27.1907, 14.0603)
Luminance0.2719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F5C #5C6699
analogous
#99705C #998F5C #84995C
triadic
#998F5C #5C998F #8F5C99
tetradic
#998F5C #5C9970 #5C6699 #995C84
square
#998F5C #5C9970 #5C6699 #995C84
split-complementary
#998F5C #5C8499 #705C99
monochromatic
#4D482E #736B45 #998F5C #B2AA80 #C9C4A6

Accessibility & contrast

On white

3.26
#998F5C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#998F5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F5C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F5C#FFFFFF#000000##000000
##998F5C1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988C58
Deuteranopia (green-blind)
#9B905E
Tritanopia (blue-blind)
#A28882
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f5c;
/* rgb */ color: rgb(153, 143, 92);
/* oklch */ color: oklch(64.6% 0.071 98.5);
Tailwind
colors: {
  custom: {
    50: '#b8af8b',
    500: '#998f5c',
    950: '#000000',
  },
}
SCSS
$custom: #998f5c;
$custom-light: #b8af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#998f5c",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 92
  },
  "hsl": {
    "h": 50.164,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64646,
    "c": 0.07066,
    "h": 98.5
  },
  "luminance": 0.2719
}

Semantic roles & 50–950 ramp

primary
#998F5C
secondary
#999EB7
accent
#75C166
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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