#989522#989522

#989522 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.130 H 108.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#989522
RGBrgb(152, 149, 34)
HSLhsl(58, 63%, 36%)
HSVhsv(58, 78%, 60%)
CMYKcmyk(0%, 2%, 77.6%, 40.4%)
CIE-LABlab(60.15, -12.25, 56.43)
CIE-LCHlch(60.15, 57.74, 102.25°)
OKLaboklab(65.22% -0.0399 0.1233)
OKLCHoklch(65.22% 0.13 108)
XYZxyz(23.9860, 28.2866, 5.7094)
Luminance0.2829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989522 #222598
analogous
#985A22 #989522 #609822
triadic
#989522 #229895 #952298
tetradic
#989522 #22985A #222598 #982260
square
#989522 #22985A #222598 #982260
split-complementary
#989522 #226098 #5A2298
monochromatic
#34330C #666417 #989522 #CAC62D #DAD75A

Accessibility & contrast

On white

3.15
#989522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#989522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989522
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989522#FFFFFF#000000##000000
##9895221.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F04
Deuteranopia (green-blind)
#A4932C
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #989522;
/* rgb */ color: rgb(152, 149, 34);
/* oklch */ color: oklch(65.2% 0.130 108.0);
Tailwind
colors: {
  custom: {
    50: '#bab367',
    500: '#989522',
    950: '#000000',
  },
}
SCSS
$custom: #989522;
$custom-light: #bab367;
$custom-dark: #000000;
JSON
{
  "hex": "#989522",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 58.475,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65224,
    "c": 0.12958,
    "h": 108
  },
  "luminance": 0.28286
}

Semantic roles & 50–950 ramp

primary
#989522
secondary
#575ABE
accent
#46E641
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989522

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

Preview Lab → · Contrast checker → · Palette generator →

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