#998F5E#998F5E

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

Color values

HEX#998F5E
RGBrgb(153, 143, 94)
HSLhsl(50, 24%, 48%)
HSVhsv(50, 39%, 60%)
CMYKcmyk(0%, 6.5%, 38.6%, 40%)
CIE-LABlab(59.18, -3.79, 27.43)
CIE-LCHlch(59.18, 27.69, 97.87°)
OKLaboklab(64.68% -0.0096 0.0676)
OKLCHoklch(64.68% 0.068 98.1)
XYZxyz(24.9802, 27.2261, 14.5268)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F5E #5E6899
analogous
#99715E #998F5E #85995E
triadic
#998F5E #5E998F #8F5E99
tetradic
#998F5E #5E9971 #5E6899 #995E85
square
#998F5E #5E9971 #5E6899 #995E85
split-complementary
#998F5E #5E8599 #715E99
monochromatic
#4D482F #736C47 #998F5E #B2AA82 #C9C4A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998F5E#FFFFFF#000000##000000
##998F5E1.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)
#988C5A
Deuteranopia (green-blind)
#9B9060
Tritanopia (blue-blind)
#A28883
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f5e;
/* rgb */ color: rgb(153, 143, 94);
/* oklch */ color: oklch(64.7% 0.068 98.1);
Tailwind
colors: {
  custom: {
    50: '#b8af8c',
    500: '#998f5e',
    950: '#000000',
  },
}
SCSS
$custom: #998f5e;
$custom-light: #b8af8c;
$custom-dark: #000000;
JSON
{
  "hex": "#998f5e",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 94
  },
  "hsl": {
    "h": 49.831,
    "s": 23.887,
    "l": 48.431
  },
  "oklch": {
    "l": 0.64683,
    "c": 0.06823,
    "h": 98.1
  },
  "luminance": 0.27225
}

Semantic roles & 50–950 ramp

primary
#998F5E
secondary
#9BA0B8
accent
#77C067
background
#FBFAF8
surface
#F6F4F0
border
#D0CECB
text
#11100C
muted
#807F7D

Preview Lab

Preview with #998F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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