#989822#989822

#989822 is a light, vivid yellow. Relative luminance 0.292; OKLCH L 65.9% C 0.133 H 109.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#989822
RGBrgb(152, 152, 34)
HSLhsl(60, 63%, 36%)
HSVhsv(60, 78%, 60%)
CMYKcmyk(0%, 0%, 77.6%, 40.4%)
CIE-LABlab(61.00, -13.83, 57.21)
CIE-LCHlch(61.00, 58.85, 103.59°)
OKLaboklab(65.91% -0.0443 0.1249)
OKLCHoklch(65.91% 0.133 109.5)
XYZxyz(24.4668, 29.2481, 5.8697)
Luminance0.2925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989822 #222298
analogous
#985D22 #989822 #5D9822
triadic
#989822 #229898 #982298
tetradic
#989822 #22985D #222298 #98225D
square
#989822 #22985D #222298 #98225D
split-complementary
#989822 #225D98 #5D2298
monochromatic
#34340C #666617 #989822 #CACA2D #DADA5A

Accessibility & contrast

On white

3.07
#989822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#989822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989822
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989822#FFFFFF#000000##000000
##9898221.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59102
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#A38E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #989822;
/* rgb */ color: rgb(152, 152, 34);
/* oklch */ color: oklch(65.9% 0.133 109.5);
Tailwind
colors: {
  custom: {
    50: '#bab668',
    500: '#989822',
    950: '#000000',
  },
}
SCSS
$custom: #989822;
$custom-light: #bab668;
$custom-dark: #000000;
JSON
{
  "hex": "#989822",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 34
  },
  "hsl": {
    "h": 60,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65905,
    "c": 0.13257,
    "h": 109.5
  },
  "luminance": 0.29247
}

Semantic roles & 50–950 ramp

primary
#989822
secondary
#5757BE
accent
#41E641
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989822

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

Preview Lab → · Contrast checker → · Palette generator →

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