#998E5D#998E5D

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

Color values

HEX#998E5D
RGBrgb(153, 142, 93)
HSLhsl(49, 24%, 48%)
HSVhsv(49, 39%, 60%)
CMYKcmyk(0%, 7.2%, 39.2%, 40%)
CIE-LABlab(58.89, -3.36, 27.60)
CIE-LCHlch(58.89, 27.80, 96.94°)
OKLaboklab(64.45% -0.0084 0.0679)
OKLCHoklch(64.45% 0.068 97.1)
XYZxyz(24.7861, 26.9094, 14.2422)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E5D #5D6899
analogous
#99705D #998E5D #86995D
triadic
#998E5D #5D998E #8E5D99
tetradic
#998E5D #5D9970 #5D6899 #995D86
square
#998E5D #5D9970 #5D6899 #995D86
split-complementary
#998E5D #5D8699 #705D99
monochromatic
#4D472F #736B46 #998E5D #B2A981 #C9C3A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998E5D#FFFFFF#000000##000000
##998E5D1.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)
#978B59
Deuteranopia (green-blind)
#9A8F5F
Tritanopia (blue-blind)
#A28782
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998e5d;
/* rgb */ color: rgb(153, 142, 93);
/* oklch */ color: oklch(64.4% 0.068 97.1);
Tailwind
colors: {
  custom: {
    50: '#b8ae8b',
    500: '#998e5d',
    950: '#000000',
  },
}
SCSS
$custom: #998e5d;
$custom-light: #b8ae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#998e5d",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 93
  },
  "hsl": {
    "h": 49,
    "s": 24.39,
    "l": 48.235
  },
  "oklch": {
    "l": 0.64446,
    "c": 0.06842,
    "h": 97.1
  },
  "luminance": 0.26909
}

Semantic roles & 50–950 ramp

primary
#998E5D
secondary
#9AA0B8
accent
#77C167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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