#998E52#998E52

#998E52 is a light, moderate yellow. Relative luminance 0.267; OKLCH L 64.3% C 0.081 H 99.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#998E52
RGBrgb(153, 142, 82)
HSLhsl(51, 30%, 46%)
HSVhsv(51, 46%, 60%)
CMYKcmyk(0%, 7.2%, 46.4%, 40%)
CIE-LABlab(58.72, -4.59, 33.32)
CIE-LCHlch(58.72, 33.64, 97.84°)
OKLaboklab(64.26% -0.0129 0.0803)
OKLCHoklch(64.26% 0.081 99.1)
XYZxyz(24.3335, 26.7283, 11.8583)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998E52 #525D99
analogous
#996A52 #998E52 #809952
triadic
#998E52 #52998E #8E5299
tetradic
#998E52 #52996A #525D99 #995280
square
#998E52 #52996A #525D99 #995280
split-complementary
#998E52 #528099 #6A5299
monochromatic
#494427 #71693D #998E52 #B4AA74 #CAC39C

Accessibility & contrast

On white

3.31
#998E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#998E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998E52
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998E52#FFFFFF#000000##000000
##998E521.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#988B4D
Deuteranopia (green-blind)
#9C8F54
Tritanopia (blue-blind)
#A38680
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998e52;
/* rgb */ color: rgb(153, 142, 82);
/* oklch */ color: oklch(64.3% 0.081 99.1);
Tailwind
colors: {
  custom: {
    50: '#b8ae84',
    500: '#998e52',
    950: '#000000',
  },
}
SCSS
$custom: #998e52;
$custom-light: #b8ae84;
$custom-dark: #000000;
JSON
{
  "hex": "#998e52",
  "rgb": {
    "r": 153,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 50.704,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64258,
    "c": 0.08133,
    "h": 99.1
  },
  "luminance": 0.26728
}

Semantic roles & 50–950 ramp

primary
#998E52
secondary
#9096B7
accent
#71C661
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #998E52

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

Preview Lab → · Contrast checker → · Palette generator →

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