#998E5C#998E5C

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

Color values

HEX#998E5C
RGBrgb(153, 142, 92)
HSLhsl(49, 25%, 48%)
HSVhsv(49, 40%, 60%)
CMYKcmyk(0%, 7.2%, 39.9%, 40%)
CIE-LABlab(58.87, -3.48, 28.12)
CIE-LCHlch(58.87, 28.34, 97.05°)
OKLaboklab(64.43% -0.0088 0.0691)
OKLCHoklch(64.43% 0.07 97.3)
XYZxyz(24.7421, 26.8918, 14.0104)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E5C #5C6799
analogous
#996F5C #998E5C #85995C
triadic
#998E5C #5C998E #8E5C99
tetradic
#998E5C #5C996F #5C6799 #995C85
square
#998E5C #5C996F #5C6799 #995C85
split-complementary
#998E5C #5C8599 #6F5C99
monochromatic
#4D472E #736B45 #998E5C #B2A980 #C9C3A6

Accessibility & contrast

On white

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

On black

6.38
#998E5C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E5C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E5C#FFFFFF#000000##000000
##998E5C1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B58
Deuteranopia (green-blind)
#9A8F5E
Tritanopia (blue-blind)
#A28781
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998e5c;
/* rgb */ color: rgb(153, 142, 92);
/* oklch */ color: oklch(64.4% 0.070 97.3);
Tailwind
colors: {
  custom: {
    50: '#b8ae8b',
    500: '#998e5c',
    950: '#000000',
  },
}
SCSS
$custom: #998e5c;
$custom-light: #b8ae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#998e5c",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 92
  },
  "hsl": {
    "h": 49.18,
    "s": 24.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64428,
    "c": 0.06963,
    "h": 97.3
  },
  "luminance": 0.26891
}

Semantic roles & 50–950 ramp

primary
#998E5C
secondary
#999FB7
accent
#77C166
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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