#988921#988921

#988921 is a light, moderate yellow. Relative luminance 0.247; OKLCH L 62.5% C 0.119 H 100.7°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#988921
RGBrgb(152, 137, 33)
HSLhsl(52, 64%, 36%)
HSVhsv(52, 78%, 60%)
CMYKcmyk(0%, 9.9%, 78.3%, 40.4%)
CIE-LABlab(56.76, -5.84, 53.67)
CIE-LCHlch(56.76, 53.98, 96.21°)
OKLaboklab(62.53% -0.022 0.1172)
OKLCHoklch(62.53% 0.119 100.7)
XYZxyz(22.1701, 24.6776, 5.0340)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988921 #213098
analogous
#984E21 #988921 #6C9821
triadic
#988921 #219889 #892198
tetradic
#988921 #21984E #213098 #98216C
square
#988921 #21984E #213098 #98216C
split-complementary
#988921 #216C98 #4E2198
monochromatic
#332E0B #665C16 #988921 #CAB62C #DBCA59

Accessibility & contrast

On white

3.54
#988921 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#988921 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988921
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988921#FFFFFF#000000##000000
##9889211.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#978509
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#A47F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988921;
/* rgb */ color: rgb(152, 137, 33);
/* oklch */ color: oklch(62.5% 0.119 100.7);
Tailwind
colors: {
  custom: {
    50: '#baab65',
    500: '#988921',
    950: '#000000',
  },
}
SCSS
$custom: #988921;
$custom-light: #baab65;
$custom-dark: #000000;
JSON
{
  "hex": "#988921",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 33
  },
  "hsl": {
    "h": 52.437,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62526,
    "c": 0.11923,
    "h": 100.7
  },
  "luminance": 0.24677
}

Semantic roles & 50–950 ramp

primary
#988921
secondary
#5663BF
accent
#56E740
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988921

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

Preview Lab → · Contrast checker → · Palette generator →

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