#989C20#989C20

#989C20 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.138 H 111.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#989C20
RGBrgb(152, 156, 32)
HSLhsl(62, 66%, 37%)
HSVhsv(62, 79%, 61%)
CMYKcmyk(2.6%, 0%, 79.5%, 38.8%)
CIE-LABlab(62.13, -15.99, 58.85)
CIE-LCHlch(62.13, 60.98, 105.21°)
OKLaboklab(66.81% -0.0505 0.1281)
OKLCHoklch(66.81% 0.138 111.5)
XYZxyz(25.0990, 30.5573, 5.9422)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C20 #24209C
analogous
#9C6220 #989C20 #5A9C20
triadic
#989C20 #20989C #9C2098
tetradic
#989C20 #209C62 #24209C #9C205A
square
#989C20 #209C62 #24209C #9C205A
split-complementary
#989C20 #205A9C #62209C
monochromatic
#35360B #676916 #989C20 #C9CF2A #D9DD59

Accessibility & contrast

On white

2.95
#989C20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#989C20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C20
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C20#FFFFFF#000000##000000
##989C201.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9982B
Tritanopia (blue-blind)
#A39285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c20;
/* rgb */ color: rgb(152, 156, 32);
/* oklch */ color: oklch(66.8% 0.138 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab967',
    500: '#989c20',
    950: '#000000',
  },
}
SCSS
$custom: #989c20;
$custom-light: #bab967;
$custom-dark: #000000;
JSON
{
  "hex": "#989c20",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 61.935,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66807,
    "c": 0.13767,
    "h": 111.5
  },
  "luminance": 0.30557
}

Semantic roles & 50–950 ramp

primary
#989C20
secondary
#5A57C1
accent
#3FE944
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989C20

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

Preview Lab → · Contrast checker → · Palette generator →

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