#989420#989420

#989420 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.0% C 0.130 H 107.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#989420
RGBrgb(152, 148, 32)
HSLhsl(58, 65%, 36%)
HSVhsv(58, 79%, 60%)
CMYKcmyk(0%, 2.6%, 78.9%, 40.4%)
CIE-LABlab(59.85, -11.80, 56.81)
CIE-LCHlch(59.85, 58.02, 101.74°)
OKLaboklab(64.99% -0.0389 0.1237)
OKLCHoklch(64.99% 0.13 107.4)
XYZxyz(23.8005, 27.9603, 5.5094)
Luminance0.2796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989420 #202498
analogous
#985820 #989420 #609820
triadic
#989420 #209894 #942098
tetradic
#989420 #209858 #202498 #982060
square
#989420 #209858 #202498 #982060
split-complementary
#989420 #206098 #582098
monochromatic
#33320B #656315 #989420 #CBC52B #DCD757

Accessibility & contrast

On white

3.19
#989420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#989420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989420
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989420#FFFFFF#000000##000000
##9894201.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#A48A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #989420;
/* rgb */ color: rgb(152, 148, 32);
/* oklch */ color: oklch(65.0% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#bab366',
    500: '#989420',
    950: '#000000',
  },
}
SCSS
$custom: #989420;
$custom-light: #bab366;
$custom-dark: #000000;
JSON
{
  "hex": "#989420",
  "rgb": {
    "r": 152,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 58,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.64986,
    "c": 0.12965,
    "h": 107.4
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#989420
secondary
#5458BF
accent
#45E840
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #989420

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

Preview Lab → · Contrast checker → · Palette generator →

#989420 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva