#989728#989728

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

Color values

HEX#989728
RGBrgb(152, 151, 40)
HSLhsl(59, 58%, 38%)
HSVhsv(59, 74%, 60%)
CMYKcmyk(0%, 0.7%, 73.7%, 40.4%)
CIE-LABlab(60.75, -13.04, 54.92)
CIE-LCHlch(60.75, 56.45, 103.36°)
OKLaboklab(65.72% -0.0416 0.1212)
OKLCHoklch(65.72% 0.128 108.9)
XYZxyz(24.3994, 28.9626, 6.3121)
Luminance0.2896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989728 #282998
analogous
#985F28 #989728 #619828
triadic
#989728 #289897 #972898
tetradic
#989728 #28985F #282998 #982861
square
#989728 #28985F #282998 #982861
split-complementary
#989728 #286198 #5F2898
monochromatic
#37370F #68671B #989728 #C8C735 #D6D564

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989728#FFFFFF#000000##000000
##9897281.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)
#A49112
Deuteranopia (green-blind)
#A59431
Tritanopia (blue-blind)
#A38D82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #989728;
/* rgb */ color: rgb(152, 151, 40);
/* oklch */ color: oklch(65.7% 0.128 108.9);
Tailwind
colors: {
  custom: {
    50: '#bab56a',
    500: '#989728',
    950: '#000000',
  },
}
SCSS
$custom: #989728;
$custom-light: #bab56a;
$custom-dark: #000000;
JSON
{
  "hex": "#989728",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 59.464,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65715,
    "c": 0.12815,
    "h": 108.9
  },
  "luminance": 0.28962
}

Semantic roles & 50–950 ramp

primary
#989728
secondary
#6061BC
accent
#48E246
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989728

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

Preview Lab → · Contrast checker → · Palette generator →

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