#988722#988722

#988722 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.1% C 0.117 H 99.2°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#988722
RGBrgb(152, 135, 34)
HSLhsl(51, 63%, 36%)
HSVhsv(51, 78%, 60%)
CMYKcmyk(0%, 11.2%, 77.6%, 40.4%)
CIE-LABlab(56.21, -4.70, 52.80)
CIE-LCHlch(56.21, 53.01, 95.08°)
OKLaboklab(62.09% -0.0187 0.1156)
OKLCHoklch(62.09% 0.117 99.2)
XYZxyz(21.9027, 24.1199, 5.0150)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988722 #223398
analogous
#984C22 #988722 #6E9822
triadic
#988722 #229887 #872298
tetradic
#988722 #22984C #223398 #98226E
square
#988722 #22984C #223398 #98226E
split-complementary
#988722 #226E98 #4C2298
monochromatic
#342E0C #665B17 #988722 #CAB32D #DAC85A

Accessibility & contrast

On white

3.61
#988722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#988722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988722
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988722#FFFFFF#000000##000000
##9887221.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#A47C74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #988722;
/* rgb */ color: rgb(152, 135, 34);
/* oklch */ color: oklch(62.1% 0.117 99.2);
Tailwind
colors: {
  custom: {
    50: '#baa966',
    500: '#988722',
    950: '#000000',
  },
}
SCSS
$custom: #988722;
$custom-light: #baa966;
$custom-dark: #000000;
JSON
{
  "hex": "#988722",
  "rgb": {
    "r": 152,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 51.356,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6209,
    "c": 0.11706,
    "h": 99.2
  },
  "luminance": 0.24119
}

Semantic roles & 50–950 ramp

primary
#988722
secondary
#5766BE
accent
#59E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #988722

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

Preview Lab → · Contrast checker → · Palette generator →

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