#998D56#998D56

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

Color values

HEX#998D56
RGBrgb(153, 141, 86)
HSLhsl(49, 28%, 47%)
HSVhsv(49, 44%, 60%)
CMYKcmyk(0%, 7.8%, 43.8%, 40%)
CIE-LABlab(58.50, -3.61, 30.91)
CIE-LCHlch(58.50, 31.12, 96.67°)
OKLaboklab(64.1% -0.0097 0.0751)
OKLCHoklch(64.1% 0.076 97.4)
XYZxyz(24.3420, 26.4948, 12.6341)
Luminance0.2649 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998D56 #566299
analogous
#996C56 #998D56 #849956
triadic
#998D56 #56998D #8D5699
tetradic
#998D56 #56996C #566299 #995684
square
#998D56 #56996C #566299 #995684
split-complementary
#998D56 #568499 #6C5699
monochromatic
#4B452A #726940 #998D56 #B4A979 #CAC2A0

Accessibility & contrast

On white

3.33
#998D56 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#998D56 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998D56
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998D56#FFFFFF#000000##000000
##998D561.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A52
Deuteranopia (green-blind)
#9A8F58
Tritanopia (blue-blind)
#A2867F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #998d56;
/* rgb */ color: rgb(153, 141, 86);
/* oklch */ color: oklch(64.1% 0.076 97.4);
Tailwind
colors: {
  custom: {
    50: '#b8ae86',
    500: '#998d56',
    950: '#000000',
  },
}
SCSS
$custom: #998d56;
$custom-light: #b8ae86;
$custom-dark: #000000;
JSON
{
  "hex": "#998d56",
  "rgb": {
    "r": 153,
    "g": 141,
    "b": 86
  },
  "hsl": {
    "h": 49.254,
    "s": 28.033,
    "l": 46.863
  },
  "oklch": {
    "l": 0.64104,
    "c": 0.07574,
    "h": 97.4
  },
  "luminance": 0.26494
}

Semantic roles & 50–950 ramp

primary
#998D56
secondary
#949AB7
accent
#75C463
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #998D56

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

Preview Lab → · Contrast checker → · Palette generator →

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