#989B20#989B20

#989B20 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.137 H 111.1°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#989B20
RGBrgb(152, 155, 32)
HSLhsl(61, 66%, 37%)
HSVhsv(61, 79%, 61%)
CMYKcmyk(1.9%, 0%, 79.4%, 39.2%)
CIE-LABlab(61.85, -15.48, 58.59)
CIE-LCHlch(61.85, 60.60, 104.80°)
OKLaboklab(66.58% -0.0491 0.1275)
OKLCHoklch(66.58% 0.137 111.1)
XYZxyz(24.9318, 30.2231, 5.8865)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B20 #23209B
analogous
#9B6120 #989B20 #5B9B20
triadic
#989B20 #20989B #9B2098
tetradic
#989B20 #209B61 #23209B #9B205B
square
#989B20 #209B61 #23209B #9B205B
split-complementary
#989B20 #205B9B #61209B
monochromatic
#35360B #666816 #989B20 #CACE2A #D9DD59

Accessibility & contrast

On white

2.98
#989B20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#989B20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B20
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B20#FFFFFF#000000##000000
##989B201.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8972B
Tritanopia (blue-blind)
#A39184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b20;
/* rgb */ color: rgb(152, 155, 32);
/* oklch */ color: oklch(66.6% 0.137 111.1);
Tailwind
colors: {
  custom: {
    50: '#bab867',
    500: '#989b20',
    950: '#000000',
  },
}
SCSS
$custom: #989b20;
$custom-light: #bab867;
$custom-dark: #000000;
JSON
{
  "hex": "#989b20",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 61.463,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66579,
    "c": 0.13664,
    "h": 111.1
  },
  "luminance": 0.30222
}

Semantic roles & 50–950 ramp

primary
#989B20
secondary
#5956C1
accent
#3FE943
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B20

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

Preview Lab → · Contrast checker → · Palette generator →

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