#989221#989221

#989221 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.127 H 106.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#989221
RGBrgb(152, 146, 33)
HSLhsl(57, 64%, 36%)
HSVhsv(57, 78%, 60%)
CMYKcmyk(0%, 3.9%, 78.3%, 40.4%)
CIE-LABlab(59.29, -10.70, 55.98)
CIE-LCHlch(59.29, 56.99, 100.82°)
OKLaboklab(64.54% -0.0357 0.1221)
OKLCHoklch(64.54% 0.127 106.3)
XYZxyz(23.5033, 27.3439, 5.4784)
Luminance0.2734 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989221 #212798
analogous
#985721 #989221 #639821
triadic
#989221 #219892 #922198
tetradic
#989221 #219857 #212798 #982163
square
#989221 #219857 #212798 #982163
split-complementary
#989221 #216398 #572198
monochromatic
#33310B #666216 #989221 #CAC22C #DBD459

Accessibility & contrast

On white

3.25
#989221 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#989221 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989221
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989221#FFFFFF#000000##000000
##9892211.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C03
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989221;
/* rgb */ color: rgb(152, 146, 33);
/* oklch */ color: oklch(64.5% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#bab167',
    500: '#989221',
    950: '#000000',
  },
}
SCSS
$custom: #989221;
$custom-light: #bab167;
$custom-dark: #000000;
JSON
{
  "hex": "#989221",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 33
  },
  "hsl": {
    "h": 56.975,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6454,
    "c": 0.12723,
    "h": 106.3
  },
  "luminance": 0.27343
}

Semantic roles & 50–950 ramp

primary
#989221
secondary
#565BBF
accent
#49E740
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989221

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

Preview Lab → · Contrast checker → · Palette generator →

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