#989525#989525

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

Color values

HEX#989525
RGBrgb(152, 149, 37)
HSLhsl(58, 61%, 37%)
HSVhsv(58, 76%, 60%)
CMYKcmyk(0%, 2%, 75.7%, 40.4%)
CIE-LABlab(60.16, -12.12, 55.43)
CIE-LCHlch(60.16, 56.74, 102.34°)
OKLaboklab(65.24% -0.0393 0.1217)
OKLCHoklch(65.24% 0.128 107.9)
XYZxyz(24.0312, 28.3047, 5.9474)
Luminance0.2830 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989525 #252898
analogous
#985C25 #989525 #629825
triadic
#989525 #259895 #952598
tetradic
#989525 #25985C #252898 #982562
square
#989525 #25985C #252898 #982562
split-complementary
#989525 #256298 #5C2598
monochromatic
#36350D #676519 #989525 #C9C531 #D8D55F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989525#FFFFFF#000000##000000
##9895251.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)
#A28F0C
Deuteranopia (green-blind)
#A4932E
Tritanopia (blue-blind)
#A38B80
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #989525;
/* rgb */ color: rgb(152, 149, 37);
/* oklch */ color: oklch(65.2% 0.128 107.9);
Tailwind
colors: {
  custom: {
    50: '#bab369',
    500: '#989525',
    950: '#000000',
  },
}
SCSS
$custom: #989525;
$custom-light: #bab369;
$custom-dark: #000000;
JSON
{
  "hex": "#989525",
  "rgb": {
    "r": 152,
    "g": 149,
    "b": 37
  },
  "hsl": {
    "h": 58.435,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65242,
    "c": 0.12792,
    "h": 107.9
  },
  "luminance": 0.28304
}

Semantic roles & 50–950 ramp

primary
#989525
secondary
#5C5EBD
accent
#48E444
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989525

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

Preview Lab → · Contrast checker → · Palette generator →

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