#989526#989526

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

Color values

HEX#989526
RGBrgb(152, 149, 38)
HSLhsl(58, 60%, 37%)
HSVhsv(58, 75%, 60%)
CMYKcmyk(0%, 2%, 75%, 40.4%)
CIE-LABlab(60.17, -12.08, 55.09)
CIE-LCHlch(60.17, 56.39, 102.37°)
OKLaboklab(65.25% -0.0391 0.1212)
OKLCHoklch(65.25% 0.127 107.9)
XYZxyz(24.0471, 28.3110, 6.0312)
Luminance0.2831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989526 #262998
analogous
#985C26 #989526 #629826
triadic
#989526 #269895 #952698
tetradic
#989526 #26985C #262998 #982662
square
#989526 #26985C #262998 #982662
split-complementary
#989526 #266298 #5C2698
monochromatic
#36350E #67651A #989526 #C9C532 #D7D461

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989526#FFFFFF#000000##000000
##9895261.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)
#A28F0F
Deuteranopia (green-blind)
#A4932F
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #989526;
/* rgb */ color: rgb(152, 149, 38);
/* oklch */ color: oklch(65.2% 0.127 107.9);
Tailwind
colors: {
  custom: {
    50: '#bab369',
    500: '#989526',
    950: '#000000',
  },
}
SCSS
$custom: #989526;
$custom-light: #bab369;
$custom-dark: #000000;
JSON
{
  "hex": "#989526",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 38
  },
  "hsl": {
    "h": 58.421,
    "s": 60,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65248,
    "c": 0.12733,
    "h": 107.9
  },
  "luminance": 0.2831
}

Semantic roles & 50–950 ramp

primary
#989526
secondary
#5D60BD
accent
#49E345
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989526

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

Preview Lab → · Contrast checker → · Palette generator →

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