#989724#989724

#989724 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.130 H 109.0°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#989724
RGBrgb(152, 151, 36)
HSLhsl(59, 62%, 37%)
HSVhsv(59, 76%, 60%)
CMYKcmyk(0%, 0.7%, 76.3%, 40.4%)
CIE-LABlab(60.73, -13.22, 56.30)
CIE-LCHlch(60.73, 57.83, 103.22°)
OKLaboklab(65.69% -0.0425 0.1234)
OKLCHoklch(65.69% 0.13 109)
XYZxyz(24.3349, 28.9368, 5.9722)
Luminance0.2894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989724 #242598
analogous
#985D24 #989724 #5F9824
triadic
#989724 #249897 #972498
tetradic
#989724 #24985D #242598 #98245F
square
#989724 #24985D #242598 #98245F
split-complementary
#989724 #245F98 #5D2498
monochromatic
#35350D #676618 #989724 #C9C830 #D9D85E

Accessibility & contrast

On white

3.09
#989724 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#989724 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989724
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989724#FFFFFF#000000##000000
##9897241.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49108
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#A38D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #989724;
/* rgb */ color: rgb(152, 151, 36);
/* oklch */ color: oklch(65.7% 0.130 109.0);
Tailwind
colors: {
  custom: {
    50: '#bab569',
    500: '#989724',
    950: '#000000',
  },
}
SCSS
$custom: #989724;
$custom-light: #bab569;
$custom-dark: #000000;
JSON
{
  "hex": "#989724",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 36
  },
  "hsl": {
    "h": 59.483,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65689,
    "c": 0.13048,
    "h": 109
  },
  "luminance": 0.28936
}

Semantic roles & 50–950 ramp

primary
#989724
secondary
#5A5BBE
accent
#44E543
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989724

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

Preview Lab → · Contrast checker → · Palette generator →

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