#989524#989524

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

Color values

HEX#989524
RGBrgb(152, 149, 36)
HSLhsl(58, 62%, 37%)
HSVhsv(58, 76%, 60%)
CMYKcmyk(0%, 2%, 76.3%, 40.4%)
CIE-LABlab(60.16, -12.17, 55.77)
CIE-LCHlch(60.16, 57.08, 102.31°)
OKLaboklab(65.24% -0.0395 0.1223)
OKLCHoklch(65.24% 0.128 107.9)
XYZxyz(24.0157, 28.2985, 5.8658)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989524 #242798
analogous
#985B24 #989524 #619824
triadic
#989524 #249895 #952498
tetradic
#989524 #24985B #242798 #982461
square
#989524 #24985B #242798 #982461
split-complementary
#989524 #246198 #5B2498
monochromatic
#35340D #676418 #989524 #C9C630 #D9D65E

Accessibility & contrast

On white

3.15
#989524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#989524 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989524
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989524#FFFFFF#000000##000000
##9895241.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F09
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #989524;
/* rgb */ color: rgb(152, 149, 36);
/* oklch */ color: oklch(65.2% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#bab368',
    500: '#989524',
    950: '#000000',
  },
}
SCSS
$custom: #989524;
$custom-light: #bab368;
$custom-dark: #000000;
JSON
{
  "hex": "#989524",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 36
  },
  "hsl": {
    "h": 58.448,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65236,
    "c": 0.12848,
    "h": 107.9
  },
  "luminance": 0.28298
}

Semantic roles & 50–950 ramp

primary
#989524
secondary
#5A5DBE
accent
#47E543
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989524

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

Preview Lab → · Contrast checker → · Palette generator →

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