#989A20#989A20

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

Color values

HEX#989A20
RGBrgb(152, 154, 32)
HSLhsl(61, 66%, 36%)
HSVhsv(61, 79%, 60%)
CMYKcmyk(1.3%, 0%, 79.2%, 39.6%)
CIE-LABlab(61.56, -14.96, 58.34)
CIE-LCHlch(61.56, 60.22, 104.38°)
OKLaboklab(66.35% -0.0476 0.127)
OKLCHoklch(66.35% 0.136 110.6)
XYZxyz(24.7661, 29.8916, 5.8313)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A20 #22209A
analogous
#9A5F20 #989A20 #5B9A20
triadic
#989A20 #20989A #9A2098
tetradic
#989A20 #209A5F #22209A #9A205B
square
#989A20 #209A5F #22209A #9A205B
split-complementary
#989A20 #205B9A #5F209A
monochromatic
#34350B #666715 #989A20 #CACD2B #DADC58

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989A20#FFFFFF#000000##000000
##989A201.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)
#A8962B
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a20;
/* rgb */ color: rgb(152, 154, 32);
/* oklch */ color: oklch(66.3% 0.136 110.6);
Tailwind
colors: {
  custom: {
    50: '#bab767',
    500: '#989a20',
    950: '#000000',
  },
}
SCSS
$custom: #989a20;
$custom-light: #bab767;
$custom-dark: #000000;
JSON
{
  "hex": "#989a20",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 32
  },
  "hsl": {
    "h": 60.984,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.13562,
    "h": 110.6
  },
  "luminance": 0.29891
}

Semantic roles & 50–950 ramp

primary
#989A20
secondary
#5756C0
accent
#3FE942
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989A20

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

Preview Lab → · Contrast checker → · Palette generator →

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