#989A21#989A21

#989A21 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.135 H 110.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#989A21
RGBrgb(152, 154, 33)
HSLhsl(61, 65%, 37%)
HSVhsv(61, 79%, 60%)
CMYKcmyk(1.3%, 0%, 78.6%, 39.6%)
CIE-LABlab(61.57, -14.92, 58.03)
CIE-LCHlch(61.57, 59.92, 104.42°)
OKLaboklab(66.36% -0.0475 0.1265)
OKLCHoklch(66.36% 0.135 110.6)
XYZxyz(24.7799, 29.8971, 5.9039)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A21 #23219A
analogous
#9A6021 #989A21 #5C9A21
triadic
#989A21 #21989A #9A2198
tetradic
#989A21 #219A60 #23219A #9A215C
square
#989A21 #219A60 #23219A #9A215C
split-complementary
#989A21 #215C9A #60219A
monochromatic
#35350B #666816 #989A21 #CACC2C #D9DC5A

Accessibility & contrast

On white

3.01
#989A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#989A21 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A21
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A21#FFFFFF#000000##000000
##989A211.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a21;
/* rgb */ color: rgb(152, 154, 33);
/* oklch */ color: oklch(66.4% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#bab768',
    500: '#989a21',
    950: '#000000',
  },
}
SCSS
$custom: #989a21;
$custom-light: #bab768;
$custom-dark: #000000;
JSON
{
  "hex": "#989a21",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 33
  },
  "hsl": {
    "h": 60.992,
    "s": 64.706,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66355,
    "c": 0.13512,
    "h": 110.6
  },
  "luminance": 0.29896
}

Semantic roles & 50–950 ramp

primary
#989A21
secondary
#5957C0
accent
#40E843
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989A21

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

Preview Lab → · Contrast checker → · Palette generator →

#989A21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva