#998E4B#998E4B

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

Color values

HEX#998E4B
RGBrgb(153, 142, 75)
HSLhsl(52, 34%, 45%)
HSVhsv(52, 51%, 60%)
CMYKcmyk(0%, 7.2%, 51%, 40%)
CIE-LABlab(58.63, -5.29, 36.88)
CIE-LCHlch(58.63, 37.25, 98.16°)
OKLaboklab(64.15% -0.0157 0.0876)
OKLCHoklch(64.15% 0.089 100.2)
XYZxyz(24.0806, 26.6272, 10.5263)
Luminance0.2663 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E4B #4B5699
analogous
#99674B #998E4B #7D994B
triadic
#998E4B #4B998E #8E4B99
tetradic
#998E4B #4B9967 #4B5699 #994B7D
square
#998E4B #4B9967 #4B5699 #994B7D
split-complementary
#998E4B #4B7D99 #674B99
monochromatic
#474223 #706837 #998E4B #B6AC6B #CBC394

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998E4B#FFFFFF#000000##000000
##998E4B1.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)
#998A45
Deuteranopia (green-blind)
#9C8F4E
Tritanopia (blue-blind)
#A3867E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998e4b;
/* rgb */ color: rgb(153, 142, 75);
/* oklch */ color: oklch(64.2% 0.089 100.2);
Tailwind
colors: {
  custom: {
    50: '#b9ae7f',
    500: '#998e4b',
    950: '#000000',
  },
}
SCSS
$custom: #998e4b;
$custom-light: #b9ae7f;
$custom-dark: #000000;
JSON
{
  "hex": "#998e4b",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 75
  },
  "hsl": {
    "h": 51.538,
    "s": 34.211,
    "l": 44.706
  },
  "oklch": {
    "l": 0.64152,
    "c": 0.08903,
    "h": 100.2
  },
  "luminance": 0.26626
}

Semantic roles & 50–950 ramp

primary
#998E4B
secondary
#8990B7
accent
#6DCA5E
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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