#988E5D#988E5D

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

Color values

HEX#988E5D
RGBrgb(152, 142, 93)
HSLhsl(50, 24%, 48%)
HSVhsv(50, 39%, 60%)
CMYKcmyk(0%, 6.6%, 38.8%, 40.4%)
CIE-LABlab(58.80, -3.78, 27.46)
CIE-LCHlch(58.80, 27.72, 97.84°)
OKLaboklab(64.35% -0.0096 0.0676)
OKLCHoklch(64.35% 0.068 98.1)
XYZxyz(24.5981, 26.8124, 14.2334)
Luminance0.2681 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988E5D #5D6798
analogous
#98705D #988E5D #84985D
triadic
#988E5D #5D988E #8E5D98
tetradic
#988E5D #5D9870 #5D6798 #985D84
square
#988E5D #5D9870 #5D6798 #985D84
split-complementary
#988E5D #5D8498 #705D98
monochromatic
#4C472F #726B46 #988E5D #B2A981 #C9C3A7

Accessibility & contrast

On white

3.30
#988E5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#988E5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988E5D
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988E5D#FFFFFF#000000##000000
##988E5D1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978B59
Deuteranopia (green-blind)
#9A8F5F
Tritanopia (blue-blind)
#A08782
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #988e5d;
/* rgb */ color: rgb(152, 142, 93);
/* oklch */ color: oklch(64.4% 0.068 98.1);
Tailwind
colors: {
  custom: {
    50: '#b7ae8b',
    500: '#988e5d',
    950: '#000000',
  },
}
SCSS
$custom: #988e5d;
$custom-light: #b7ae8b;
$custom-dark: #000000;
JSON
{
  "hex": "#988e5d",
  "rgb": {
    "r": 152,
    "g": 142,
    "b": 93
  },
  "hsl": {
    "h": 49.831,
    "s": 24.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.64353,
    "c": 0.06827,
    "h": 98.1
  },
  "luminance": 0.26812
}

Semantic roles & 50–950 ramp

primary
#988E5D
secondary
#9A9FB7
accent
#76C167
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #988E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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