#998548#998548

#998548 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.1% C 0.084 H 91.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#998548
RGBrgb(153, 133, 72)
HSLhsl(45, 36%, 44%)
HSVhsv(45, 53%, 60%)
CMYKcmyk(0%, 13.1%, 52.9%, 40%)
CIE-LABlab(56.10, -0.60, 35.40)
CIE-LCHlch(56.10, 35.40, 90.97°)
OKLaboklab(62.14% -0.0025 0.0841)
OKLCHoklch(62.14% 0.084 91.7)
XYZxyz(22.6949, 24.0163, 9.5698)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#998548 #485C99
analogous
#995D48 #998548 #859948
triadic
#998548 #489985 #854899
tetradic
#998548 #48995D #485C99 #994885
square
#998548 #48995D #485C99 #994885
split-complementary
#998548 #488599 #5D4899
monochromatic
#463D21 #6F6134 #998548 #B7A367 #CBBD90

Accessibility & contrast

On white

3.62
#998548 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#998548 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #998548
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##998548#FFFFFF#000000##000000
##9985481.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#918343
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#A47C77
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #998548;
/* rgb */ color: rgb(153, 133, 72);
/* oklch */ color: oklch(62.1% 0.084 91.7);
Tailwind
colors: {
  custom: {
    50: '#b9a87c',
    500: '#998548',
    950: '#000000',
  },
}
SCSS
$custom: #998548;
$custom-light: #b9a87c;
$custom-dark: #000000;
JSON
{
  "hex": "#998548",
  "rgb": {
    "r": 153,
    "g": 133,
    "b": 72
  },
  "hsl": {
    "h": 45.185,
    "s": 36,
    "l": 44.118
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.08415,
    "h": 91.7
  },
  "luminance": 0.24015
}

Semantic roles & 50–950 ramp

primary
#998548
secondary
#8692B7
accent
#77CC5C
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#120F09
muted
#817F7B

Preview Lab

Preview with #998548

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

Preview Lab → · Contrast checker → · Palette generator →

#998548 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva