#998E6B#998E6B

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

Color values

HEX#998E6B
RGBrgb(153, 142, 107)
HSLhsl(46, 18%, 51%)
HSVhsv(46, 30%, 60%)
CMYKcmyk(0%, 7.2%, 30.1%, 40%)
CIE-LABlab(59.14, -1.56, 20.17)
CIE-LCHlch(59.14, 20.23, 94.41°)
OKLaboklab(64.73% -0.0024 0.0508)
OKLCHoklch(64.73% 0.051 92.7)
XYZxyz(25.4639, 27.1805, 17.8121)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E6B #6B7699
analogous
#99776B #998E6B #8D996B
triadic
#998E6B #6B998E #8E6B99
tetradic
#998E6B #6B9977 #6B7699 #996B8D
square
#998E6B #6B9977 #6B7699 #996B8D
split-complementary
#998E6B #6B8D99 #776B99
monochromatic
#514B38 #766D51 #998E6B #B2AA8F #CBC5B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998E6B#FFFFFF#000000##000000
##998E6B1.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)
#968C69
Deuteranopia (green-blind)
#99906C
Tritanopia (blue-blind)
#A08985
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998e6b;
/* rgb */ color: rgb(153, 142, 107);
/* oklch */ color: oklch(64.7% 0.051 92.7);
Tailwind
colors: {
  custom: {
    50: '#b7af95',
    500: '#998e6b',
    950: '#000000',
  },
}
SCSS
$custom: #998e6b;
$custom-light: #b7af95;
$custom-dark: #000000;
JSON
{
  "hex": "#998e6b",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 107
  },
  "hsl": {
    "h": 45.652,
    "s": 18.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.64726,
    "c": 0.05089,
    "h": 92.7
  },
  "luminance": 0.2718
}

Semantic roles & 50–950 ramp

primary
#998E6B
secondary
#A6ABBA
accent
#7FBB6D
background
#FBFAF9
surface
#F6F4F1
border
#D0CECB
text
#11100D
muted
#807F7E

Preview Lab

Preview with #998E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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