#988922#988922

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

Color values

HEX#988922
RGBrgb(152, 137, 34)
HSLhsl(52, 63%, 36%)
HSVhsv(52, 78%, 60%)
CMYKcmyk(0%, 9.9%, 77.6%, 40.4%)
CIE-LABlab(56.77, -5.79, 53.32)
CIE-LCHlch(56.77, 53.64, 96.20°)
OKLaboklab(62.53% -0.0218 0.1167)
OKLCHoklch(62.53% 0.119 100.6)
XYZxyz(22.1844, 24.6833, 5.1089)
Luminance0.2468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988922 #223198
analogous
#984E22 #988922 #6C9822
triadic
#988922 #229889 #892298
tetradic
#988922 #22984E #223198 #98226C
square
#988922 #22984E #223198 #98226C
split-complementary
#988922 #226C98 #4E2298
monochromatic
#342F0C #665C17 #988922 #CAB62D #DACA5A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##988922#FFFFFF#000000##000000
##9889221.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)
#97850C
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#A47F75
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #988922;
/* rgb */ color: rgb(152, 137, 34);
/* oklch */ color: oklch(62.5% 0.119 100.6);
Tailwind
colors: {
  custom: {
    50: '#baab66',
    500: '#988922',
    950: '#000000',
  },
}
SCSS
$custom: #988922;
$custom-light: #baab66;
$custom-dark: #000000;
JSON
{
  "hex": "#988922",
  "rgb": {
    "r": 152,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 52.373,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62533,
    "c": 0.11867,
    "h": 100.6
  },
  "luminance": 0.24682
}

Semantic roles & 50–950 ramp

primary
#988922
secondary
#5764BE
accent
#56E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988922

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

Preview Lab → · Contrast checker → · Palette generator →

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