#988822#988822

#988822 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.3% C 0.118 H 99.9°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#988822
RGBrgb(152, 136, 34)
HSLhsl(52, 63%, 36%)
HSVhsv(52, 78%, 60%)
CMYKcmyk(0%, 10.5%, 77.6%, 40.4%)
CIE-LABlab(56.49, -5.25, 53.06)
CIE-LCHlch(56.49, 53.32, 95.65°)
OKLaboklab(62.31% -0.0203 0.1161)
OKLCHoklch(62.31% 0.118 99.9)
XYZxyz(22.0429, 24.4003, 5.0617)
Luminance0.2440 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#988822 #223298
analogous
#984D22 #988822 #6D9822
triadic
#988822 #229888 #882298
tetradic
#988822 #22984D #223298 #98226D
square
#988822 #22984D #223298 #98226D
split-complementary
#988822 #226D98 #4D2298
monochromatic
#342F0C #665B17 #988822 #CAB52D #DAC95A

Accessibility & contrast

On white

3.57
#988822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#988822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #988822
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##988822#FFFFFF#000000##000000
##9888221.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840C
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#A47E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #988822;
/* rgb */ color: rgb(152, 136, 34);
/* oklch */ color: oklch(62.3% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#baaa66',
    500: '#988822',
    950: '#000000',
  },
}
SCSS
$custom: #988822;
$custom-light: #baaa66;
$custom-dark: #000000;
JSON
{
  "hex": "#988822",
  "rgb": {
    "r": 152,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 51.864,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.62311,
    "c": 0.11786,
    "h": 99.9
  },
  "luminance": 0.24399
}

Semantic roles & 50–950 ramp

primary
#988822
secondary
#5765BE
accent
#58E641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #988822

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

Preview Lab → · Contrast checker → · Palette generator →

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