#989720#989720

#989720 is a light, vivid yellow. Relative luminance 0.289; OKLCH L 65.7% C 0.133 H 109.1°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#989720
RGBrgb(152, 151, 32)
HSLhsl(60, 65%, 36%)
HSVhsv(60, 79%, 60%)
CMYKcmyk(0%, 0.7%, 78.9%, 40.4%)
CIE-LABlab(60.71, -13.39, 57.57)
CIE-LCHlch(60.71, 59.11, 103.09°)
OKLaboklab(65.67% -0.0433 0.1253)
OKLCHoklch(65.67% 0.133 109.1)
XYZxyz(24.2772, 28.9137, 5.6683)
Luminance0.2891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989720 #202198
analogous
#985B20 #989720 #5D9820
triadic
#989720 #209897 #972098
tetradic
#989720 #20985B #202198 #98205D
square
#989720 #20985B #202198 #98205D
split-complementary
#989720 #205D98 #5B2098
monochromatic
#33330B #656515 #989720 #CBC92B #DCDA57

Accessibility & contrast

On white

3.10
#989720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#989720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989720
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989720#FFFFFF#000000##000000
##9897201.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#A5942A
Tritanopia (blue-blind)
#A38D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #989720;
/* rgb */ color: rgb(152, 151, 32);
/* oklch */ color: oklch(65.7% 0.133 109.1);
Tailwind
colors: {
  custom: {
    50: '#bab567',
    500: '#989720',
    950: '#000000',
  },
}
SCSS
$custom: #989720;
$custom-light: #bab567;
$custom-dark: #000000;
JSON
{
  "hex": "#989720",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 59.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.13259,
    "h": 109.1
  },
  "luminance": 0.28913
}

Semantic roles & 50–950 ramp

primary
#989720
secondary
#5455BF
accent
#41E840
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #989720

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

Preview Lab → · Contrast checker → · Palette generator →

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