#989825#989825

#989825 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.9% C 0.131 H 109.5°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#989825
RGBrgb(152, 152, 37)
HSLhsl(60, 61%, 37%)
HSVhsv(60, 76%, 60%)
CMYKcmyk(0%, 0%, 75.7%, 40.4%)
CIE-LABlab(61.02, -13.70, 56.23)
CIE-LCHlch(61.02, 57.87, 103.70°)
OKLaboklab(65.92% -0.0437 0.1234)
OKLCHoklch(65.92% 0.131 109.5)
XYZxyz(24.5120, 29.2662, 6.1076)
Luminance0.2927 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989825 #252598
analogous
#985F25 #989825 #5F9825
triadic
#989825 #259898 #982598
tetradic
#989825 #25985F #252598 #98255F
square
#989825 #25985F #252598 #98255F
split-complementary
#989825 #255F98 #5F2598
monochromatic
#36360D #676719 #989825 #C9C931 #D8D85F

Accessibility & contrast

On white

3.06
#989825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#989825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989825
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989825#FFFFFF#000000##000000
##9898251.003.066.856.85
#FFFFFF3.061.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5910A
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#A38E82
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #989825;
/* rgb */ color: rgb(152, 152, 37);
/* oklch */ color: oklch(65.9% 0.131 109.5);
Tailwind
colors: {
  custom: {
    50: '#bab669',
    500: '#989825',
    950: '#000000',
  },
}
SCSS
$custom: #989825;
$custom-light: #bab669;
$custom-dark: #000000;
JSON
{
  "hex": "#989825",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 37
  },
  "hsl": {
    "h": 60,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65923,
    "c": 0.13093,
    "h": 109.5
  },
  "luminance": 0.29265
}

Semantic roles & 50–950 ramp

primary
#989825
secondary
#5C5CBD
accent
#44E444
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989825

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

Preview Lab → · Contrast checker → · Palette generator →

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