#998E4D#998E4D

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

Color values

HEX#998E4D
RGBrgb(153, 142, 77)
HSLhsl(51, 33%, 45%)
HSVhsv(51, 50%, 60%)
CMYKcmyk(0%, 7.2%, 49.7%, 40%)
CIE-LABlab(58.65, -5.10, 35.87)
CIE-LCHlch(58.65, 36.23, 98.09°)
OKLaboklab(64.18% -0.0149 0.0856)
OKLCHoklch(64.18% 0.087 99.9)
XYZxyz(24.1501, 26.6550, 10.8925)
Luminance0.2665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E4D #4D5899
analogous
#99684D #998E4D #7E994D
triadic
#998E4D #4D998E #8E4D99
tetradic
#998E4D #4D9968 #4D5899 #994D7E
square
#998E4D #4D9968 #4D5899 #994D7E
split-complementary
#998E4D #4D7E99 #684D99
monochromatic
#484224 #706839 #998E4D #B6AB6D #CAC396

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##998E4D#FFFFFF#000000##000000
##998E4D1.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)
#998B47
Deuteranopia (green-blind)
#9C8F50
Tritanopia (blue-blind)
#A3867F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998e4d;
/* rgb */ color: rgb(153, 142, 77);
/* oklch */ color: oklch(64.2% 0.087 99.9);
Tailwind
colors: {
  custom: {
    50: '#b9ae80',
    500: '#998e4d',
    950: '#000000',
  },
}
SCSS
$custom: #998e4d;
$custom-light: #b9ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#998e4d",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 77
  },
  "hsl": {
    "h": 51.316,
    "s": 33.043,
    "l": 45.098
  },
  "oklch": {
    "l": 0.64181,
    "c": 0.08688,
    "h": 99.9
  },
  "luminance": 0.26654
}

Semantic roles & 50–950 ramp

primary
#998E4D
secondary
#8B91B7
accent
#6EC95F
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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