#989922#989922

#989922 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.134 H 110.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#989922
RGBrgb(152, 153, 34)
HSLhsl(61, 64%, 37%)
HSVhsv(61, 78%, 60%)
CMYKcmyk(0.7%, 0%, 77.8%, 40%)
CIE-LABlab(61.28, -14.35, 57.47)
CIE-LCHlch(61.28, 59.23, 104.03°)
OKLaboklab(66.13% -0.0458 0.1255)
OKLCHoklch(66.13% 0.134 110.1)
XYZxyz(24.6298, 29.5741, 5.9240)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989922 #232299
analogous
#995F22 #989922 #5D9922
triadic
#989922 #229899 #992298
tetradic
#989922 #22995F #232299 #99225D
square
#989922 #22995F #232299 #99225D
split-complementary
#989922 #225D99 #5F2299
monochromatic
#35350C #666717 #989922 #CACB2D #D9DB5B

Accessibility & contrast

On white

3.04
#989922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#989922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989922
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989922#FFFFFF#000000##000000
##9899221.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69201
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#A38F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #989922;
/* rgb */ color: rgb(152, 153, 34);
/* oklch */ color: oklch(66.1% 0.134 110.1);
Tailwind
colors: {
  custom: {
    50: '#bab668',
    500: '#989922',
    950: '#000000',
  },
}
SCSS
$custom: #989922;
$custom-light: #bab668;
$custom-dark: #000000;
JSON
{
  "hex": "#989922",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 34
  },
  "hsl": {
    "h": 60.504,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66133,
    "c": 0.13358,
    "h": 110.1
  },
  "luminance": 0.29573
}

Semantic roles & 50–950 ramp

primary
#989922
secondary
#5958BF
accent
#41E743
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989922

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

Preview Lab → · Contrast checker → · Palette generator →

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