#989928#989928

#989928 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.2% C 0.130 H 110.0°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#989928
RGBrgb(152, 153, 40)
HSLhsl(61, 59%, 38%)
HSVhsv(61, 74%, 60%)
CMYKcmyk(0.7%, 0%, 73.9%, 40%)
CIE-LABlab(61.32, -14.09, 55.46)
CIE-LCHlch(61.32, 57.22, 104.25°)
OKLaboklab(66.17% -0.0445 0.1224)
OKLCHoklch(66.17% 0.13 110)
XYZxyz(24.7240, 29.6118, 6.4203)
Luminance0.2961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989928 #292899
analogous
#996128 #989928 #5F9928
triadic
#989928 #289899 #992898
tetradic
#989928 #289961 #292899 #99285F
square
#989928 #289961 #292899 #99285F
split-complementary
#989928 #285F99 #612899
monochromatic
#38380F #68681B #989928 #C8CA35 #D6D765

Accessibility & contrast

On white

3.03
#989928 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#989928 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989928
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989928#FFFFFF#000000##000000
##9899281.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59211
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#A38F83
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #989928;
/* rgb */ color: rgb(152, 153, 40);
/* oklch */ color: oklch(66.2% 0.130 110.0);
Tailwind
colors: {
  custom: {
    50: '#bab66b',
    500: '#989928',
    950: '#000000',
  },
}
SCSS
$custom: #989928;
$custom-light: #bab66b;
$custom-dark: #000000;
JSON
{
  "hex": "#989928",
  "rgb": {
    "r": 152,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 60.531,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6617,
    "c": 0.1302,
    "h": 110
  },
  "luminance": 0.29611
}

Semantic roles & 50–950 ramp

primary
#989928
secondary
#6160BD
accent
#46E247
background
#FBFBF6
surface
#F7F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #989928

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

Preview Lab → · Contrast checker → · Palette generator →

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