#989921#989921

#989921 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#989921
RGBrgb(152, 153, 33)
HSLhsl(61, 65%, 36%)
HSVhsv(61, 78%, 60%)
CMYKcmyk(0.7%, 0%, 78.4%, 40%)
CIE-LABlab(61.28, -14.39, 57.78)
CIE-LCHlch(61.28, 59.54, 103.99°)
OKLaboklab(66.13% -0.046 0.126)
OKLCHoklch(66.13% 0.134 110.1)
XYZxyz(24.6156, 29.5684, 5.8492)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989921 #222199
analogous
#995E21 #989921 #5C9921
triadic
#989921 #219899 #992198
tetradic
#989921 #21995E #222199 #99215C
square
#989921 #21995E #222199 #99215C
split-complementary
#989921 #215C99 #5E2199
monochromatic
#34340B #666716 #989921 #CACB2C #DADB59

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989921#FFFFFF#000000##000000
##9899211.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)
#A69200
Deuteranopia (green-blind)
#A7962C
Tritanopia (blue-blind)
#A38F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #989921;
/* rgb */ color: rgb(152, 153, 33);
/* oklch */ color: oklch(66.1% 0.134 110.1);
Tailwind
colors: {
  custom: {
    50: '#bab667',
    500: '#989921',
    950: '#000000',
  },
}
SCSS
$custom: #989921;
$custom-light: #bab667;
$custom-dark: #000000;
JSON
{
  "hex": "#989921",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 33
  },
  "hsl": {
    "h": 60.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.66127,
    "c": 0.1341,
    "h": 110.1
  },
  "luminance": 0.29568
}

Semantic roles & 50–950 ramp

primary
#989921
secondary
#5756BF
accent
#40E842
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989921

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

Preview Lab → · Contrast checker → · Palette generator →

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