#998E4E#998E4E

#998E4E is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.2% C 0.086 H 99.7°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#998E4E
RGBrgb(153, 142, 78)
HSLhsl(51, 32%, 45%)
HSVhsv(51, 49%, 60%)
CMYKcmyk(0%, 7.2%, 49%, 40%)
CIE-LABlab(58.67, -5.00, 35.36)
CIE-LCHlch(58.67, 35.71, 98.04°)
OKLaboklab(64.2% -0.0145 0.0846)
OKLCHoklch(64.2% 0.086 99.7)
XYZxyz(24.1857, 26.6692, 11.0799)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E4E #4E5999
analogous
#99684E #998E4E #7E994E
triadic
#998E4E #4E998E #8E4E99
tetradic
#998E4E #4E9968 #4E5999 #994E7E
square
#998E4E #4E9968 #4E5999 #994E7E
split-complementary
#998E4E #4E7E99 #684E99
monochromatic
#484325 #706839 #998E4E #B5AB6F #CAC397

Accessibility & contrast

On white

3.32
#998E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#998E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E4E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E4E#FFFFFF#000000##000000
##998E4E1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998B49
Deuteranopia (green-blind)
#9C8F51
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998e4e;
/* rgb */ color: rgb(153, 142, 78);
/* oklch */ color: oklch(64.2% 0.086 99.7);
Tailwind
colors: {
  custom: {
    50: '#b9ae81',
    500: '#998e4e',
    950: '#000000',
  },
}
SCSS
$custom: #998e4e;
$custom-light: #b9ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#998e4e",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 51.2,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64196,
    "c": 0.08579,
    "h": 99.7
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

primary
#998E4E
secondary
#8C92B7
accent
#6FC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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