#989528#989528

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

Color values

HEX#989528
RGBrgb(152, 149, 40)
HSLhsl(58, 58%, 38%)
HSVhsv(58, 74%, 60%)
CMYKcmyk(0%, 2%, 73.7%, 40.4%)
CIE-LABlab(60.18, -11.98, 54.38)
CIE-LCHlch(60.18, 55.68, 102.43°)
OKLaboklab(65.26% -0.0386 0.1201)
OKLCHoklch(65.26% 0.126 107.8)
XYZxyz(24.0803, 28.3243, 6.2058)
Luminance0.2832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989528 #282B98
analogous
#985D28 #989528 #639828
triadic
#989528 #289895 #952898
tetradic
#989528 #28985D #282B98 #982863
square
#989528 #28985D #282B98 #982863
split-complementary
#989528 #286398 #5D2898
monochromatic
#37360F #68661B #989528 #C8C435 #D6D364

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989528#FFFFFF#000000##000000
##9895281.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)
#A28F13
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #989528;
/* rgb */ color: rgb(152, 149, 40);
/* oklch */ color: oklch(65.3% 0.126 107.8);
Tailwind
colors: {
  custom: {
    50: '#bab36a',
    500: '#989528',
    950: '#000000',
  },
}
SCSS
$custom: #989528;
$custom-light: #bab36a;
$custom-dark: #000000;
JSON
{
  "hex": "#989528",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 40
  },
  "hsl": {
    "h": 58.393,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65262,
    "c": 0.12612,
    "h": 107.8
  },
  "luminance": 0.28323
}

Semantic roles & 50–950 ramp

primary
#989528
secondary
#6062BC
accent
#4AE246
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989528

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

Preview Lab → · Contrast checker → · Palette generator →

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