#998F4E#998F4E

#998F4E is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.087 H 100.7°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#998F4E
RGBrgb(153, 143, 78)
HSLhsl(52, 32%, 45%)
HSVhsv(52, 49%, 60%)
CMYKcmyk(0%, 6.5%, 49%, 40%)
CIE-LABlab(58.94, -5.54, 35.70)
CIE-LCHlch(58.94, 36.13, 98.83°)
OKLaboklab(64.42% -0.0161 0.0853)
OKLCHoklch(64.42% 0.087 100.7)
XYZxyz(24.3351, 26.9681, 11.1297)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F4E #4E5899
analogous
#99694E #998F4E #7D994E
triadic
#998F4E #4E998F #8F4E99
tetradic
#998F4E #4E9969 #4E5899 #994E7D
square
#998F4E #4E9969 #4E5899 #994E7D
split-complementary
#998F4E #4E7D99 #694E99
monochromatic
#484325 #706939 #998F4E #B5AC6F #CAC397

Accessibility & contrast

On white

3.28
#998F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#998F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F4E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F4E#FFFFFF#000000##000000
##998F4E1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8B48
Deuteranopia (green-blind)
#9D9051
Tritanopia (blue-blind)
#A38780
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #998f4e;
/* rgb */ color: rgb(153, 143, 78);
/* oklch */ color: oklch(64.4% 0.087 100.7);
Tailwind
colors: {
  custom: {
    50: '#b9af81',
    500: '#998f4e',
    950: '#000000',
  },
}
SCSS
$custom: #998f4e;
$custom-light: #b9af81;
$custom-dark: #000000;
JSON
{
  "hex": "#998f4e",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 52,
    "s": 32.468,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64416,
    "c": 0.08681,
    "h": 100.7
  },
  "luminance": 0.26967
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #998F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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