#989520#989520

#989520 is a light, vivid yellow. Relative luminance 0.283; OKLCH L 65.2% C 0.131 H 108.0°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#989520
RGBrgb(152, 149, 32)
HSLhsl(59, 65%, 36%)
HSVhsv(59, 79%, 60%)
CMYKcmyk(0%, 2%, 78.9%, 40.4%)
CIE-LABlab(60.14, -12.33, 57.06)
CIE-LCHlch(60.14, 58.38, 102.19°)
OKLaboklab(65.21% -0.0403 0.1242)
OKLCHoklch(65.21% 0.131 108)
XYZxyz(23.9580, 28.2754, 5.5619)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989520 #202398
analogous
#985920 #989520 #5F9820
triadic
#989520 #209895 #952098
tetradic
#989520 #209859 #202398 #98205F
square
#989520 #209859 #202398 #98205F
split-complementary
#989520 #205F98 #592098
monochromatic
#33320B #656315 #989520 #CBC72B #DCD857

Accessibility & contrast

On white

3.16
#989520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#989520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989520
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989520#FFFFFF#000000##000000
##9895201.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A4932A
Tritanopia (blue-blind)
#A38B7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #989520;
/* rgb */ color: rgb(152, 149, 32);
/* oklch */ color: oklch(65.2% 0.131 108.0);
Tailwind
colors: {
  custom: {
    50: '#bab366',
    500: '#989520',
    950: '#000000',
  },
}
SCSS
$custom: #989520;
$custom-light: #bab366;
$custom-dark: #000000;
JSON
{
  "hex": "#989520",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 58.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65213,
    "c": 0.13063,
    "h": 108
  },
  "luminance": 0.28275
}

Semantic roles & 50–950 ramp

primary
#989520
secondary
#5457BF
accent
#44E840
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989520

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

Preview Lab → · Contrast checker → · Palette generator →

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