#989820#989820

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

Color values

HEX#989820
RGBrgb(152, 152, 32)
HSLhsl(60, 65%, 36%)
HSVhsv(60, 79%, 60%)
CMYKcmyk(0%, 0%, 78.9%, 40.4%)
CIE-LABlab(60.99, -13.91, 57.83)
CIE-LCHlch(60.99, 59.48, 103.53°)
OKLaboklab(65.89% -0.0447 0.1259)
OKLCHoklch(65.89% 0.134 109.6)
XYZxyz(24.4388, 29.2369, 5.7222)
Luminance0.2924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989820 #202098
analogous
#985C20 #989820 #5C9820
triadic
#989820 #209898 #982098
tetradic
#989820 #20985C #202098 #98205C
square
#989820 #20985C #202098 #98205C
split-complementary
#989820 #205C98 #5C2098
monochromatic
#33330B #656515 #989820 #CBCB2B #DCDC57

Accessibility & contrast

On white

3.07
#989820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##989820#FFFFFF#000000##000000
##9898201.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989820;
/* rgb */ color: rgb(152, 152, 32);
/* oklch */ color: oklch(65.9% 0.134 109.6);
Tailwind
colors: {
  custom: {
    50: '#bab667',
    500: '#989820',
    950: '#000000',
  },
}
SCSS
$custom: #989820;
$custom-light: #bab667;
$custom-dark: #000000;
JSON
{
  "hex": "#989820",
  "rgb": {
    "r": 152,
    "g": 152,
    "b": 32
  },
  "hsl": {
    "h": 60,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65894,
    "c": 0.13359,
    "h": 109.6
  },
  "luminance": 0.29236
}

Semantic roles & 50–950 ramp

primary
#989820
secondary
#5454BF
accent
#40E840
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989820

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

Preview Lab → · Contrast checker → · Palette generator →

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