#998F4F#998F4F

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

Color values

HEX#998F4F
RGBrgb(153, 143, 79)
HSLhsl(52, 32%, 45%)
HSVhsv(52, 48%, 60%)
CMYKcmyk(0%, 6.5%, 48.4%, 40%)
CIE-LABlab(58.96, -5.44, 35.20)
CIE-LCHlch(58.96, 35.61, 98.79°)
OKLaboklab(64.43% -0.0157 0.0843)
OKLCHoklch(64.43% 0.086 100.6)
XYZxyz(24.3713, 26.9826, 11.3200)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998F4F #4F5999
analogous
#996A4F #998F4F #7E994F
triadic
#998F4F #4F998F #8F4F99
tetradic
#998F4F #4F996A #4F5999 #994F7E
square
#998F4F #4F996A #4F5999 #994F7E
split-complementary
#998F4F #4F7E99 #6A4F99
monochromatic
#484425 #71693A #998F4F #B5AC70 #CAC398

Accessibility & contrast

On white

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

On black

6.40
#998F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998F4F
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998F4F#FFFFFF#000000##000000
##998F4F1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #998f4f;
/* rgb */ color: rgb(153, 143, 79);
/* oklch */ color: oklch(64.4% 0.086 100.6);
Tailwind
colors: {
  custom: {
    50: '#b9af82',
    500: '#998f4f',
    950: '#000000',
  },
}
SCSS
$custom: #998f4f;
$custom-light: #b9af82;
$custom-dark: #000000;
JSON
{
  "hex": "#998f4f",
  "rgb": {
    "r": 153,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 51.892,
    "s": 31.897,
    "l": 45.49
  },
  "oklch": {
    "l": 0.64431,
    "c": 0.08571,
    "h": 100.6
  },
  "luminance": 0.26982
}

Semantic roles & 50–950 ramp

primary
#998F4F
secondary
#8D93B7
accent
#6EC860
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100A
muted
#817F7C

Preview Lab

Preview with #998F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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