#998D54#998D54

#998D54 is a light, moderate yellow. Relative luminance 0.265; OKLCH L 64.1% C 0.078 H 97.8°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#998D54
RGBrgb(153, 141, 84)
HSLhsl(50, 29%, 46%)
HSVhsv(50, 45%, 60%)
CMYKcmyk(0%, 7.8%, 45.1%, 40%)
CIE-LABlab(58.47, -3.83, 31.94)
CIE-LCHlch(58.47, 32.17, 96.84°)
OKLaboklab(64.07% -0.0105 0.0773)
OKLCHoklch(64.07% 0.078 97.8)
XYZxyz(24.2626, 26.4630, 12.2156)
Luminance0.2646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D54 #546099
analogous
#996B54 #998D54 #839954
triadic
#998D54 #54998D #8D5499
tetradic
#998D54 #54996B #546099 #995483
square
#998D54 #54996B #546099 #995483
split-complementary
#998D54 #548399 #6B5499
monochromatic
#4A4429 #71693E #998D54 #B4A976 #CAC29E

Accessibility & contrast

On white

3.34
#998D54 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#998D54 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D54
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D54#FFFFFF#000000##000000
##998D541.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A50
Deuteranopia (green-blind)
#9B8E56
Tritanopia (blue-blind)
#A2857F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998d54;
/* rgb */ color: rgb(153, 141, 84);
/* oklch */ color: oklch(64.1% 0.078 97.8);
Tailwind
colors: {
  custom: {
    50: '#b8ae85',
    500: '#998d54',
    950: '#000000',
  },
}
SCSS
$custom: #998d54;
$custom-light: #b8ae85;
$custom-dark: #000000;
JSON
{
  "hex": "#998d54",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 84
  },
  "hsl": {
    "h": 49.565,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64071,
    "c": 0.07805,
    "h": 97.8
  },
  "luminance": 0.26462
}

Semantic roles & 50–950 ramp

primary
#998D54
secondary
#9298B7
accent
#74C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#12100B
muted
#817F7C

Preview Lab

Preview with #998D54

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

Preview Lab → · Contrast checker → · Palette generator →

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