#989B21#989B21

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

Color values

HEX#989B21
RGBrgb(152, 155, 33)
HSLhsl(61, 65%, 37%)
HSVhsv(61, 79%, 61%)
CMYKcmyk(1.9%, 0%, 78.7%, 39.2%)
CIE-LABlab(61.85, -15.44, 58.29)
CIE-LCHlch(61.85, 60.30, 104.83°)
OKLaboklab(66.58% -0.0489 0.1271)
OKLCHoklch(66.58% 0.136 111)
XYZxyz(24.9456, 30.2286, 5.9592)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B21 #24219B
analogous
#9B6121 #989B21 #5B9B21
triadic
#989B21 #21989B #9B2198
tetradic
#989B21 #219B61 #24219B #9B215B
square
#989B21 #219B61 #24219B #9B215B
split-complementary
#989B21 #215B9B #61219B
monochromatic
#35360C #676916 #989B21 #C9CD2C #D9DC5A

Accessibility & contrast

On white

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

On black

7.05
#989B21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B21
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B21#FFFFFF#000000##000000
##989B211.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989b21;
/* rgb */ color: rgb(152, 155, 33);
/* oklch */ color: oklch(66.6% 0.136 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab868',
    500: '#989b21',
    950: '#000000',
  },
}
SCSS
$custom: #989b21;
$custom-light: #bab868;
$custom-dark: #000000;
JSON
{
  "hex": "#989b21",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 33
  },
  "hsl": {
    "h": 61.475,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66584,
    "c": 0.13614,
    "h": 111
  },
  "luminance": 0.30228
}

Semantic roles & 50–950 ramp

primary
#989B21
secondary
#5A58C0
accent
#40E844
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B21

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

Preview Lab → · Contrast checker → · Palette generator →

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