#989722#989722

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

Color values

HEX#989722
RGBrgb(152, 151, 34)
HSLhsl(59, 63%, 36%)
HSVhsv(59, 78%, 60%)
CMYKcmyk(0%, 0.7%, 77.6%, 40.4%)
CIE-LABlab(60.72, -13.31, 56.95)
CIE-LCHlch(60.72, 58.48, 103.15°)
OKLaboklab(65.68% -0.0429 0.1244)
OKLCHoklch(65.68% 0.132 109)
XYZxyz(24.3052, 28.9249, 5.8158)
Luminance0.2892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989722 #222398
analogous
#985C22 #989722 #5E9822
triadic
#989722 #229897 #972298
tetradic
#989722 #22985C #222398 #98225E
square
#989722 #22985C #222398 #98225E
split-complementary
#989722 #225E98 #5C2298
monochromatic
#34340C #666517 #989722 #CAC92D #DAD95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989722#FFFFFF#000000##000000
##9897221.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)
#A49002
Deuteranopia (green-blind)
#A5942C
Tritanopia (blue-blind)
#A38D81
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #989722;
/* rgb */ color: rgb(152, 151, 34);
/* oklch */ color: oklch(65.7% 0.132 109.0);
Tailwind
colors: {
  custom: {
    50: '#bab568',
    500: '#989722',
    950: '#000000',
  },
}
SCSS
$custom: #989722;
$custom-light: #bab568;
$custom-dark: #000000;
JSON
{
  "hex": "#989722",
  "rgb": {
    "r": 152,
    "g": 151,
    "b": 34
  },
  "hsl": {
    "h": 59.492,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.65678,
    "c": 0.13157,
    "h": 109
  },
  "luminance": 0.28924
}

Semantic roles & 50–950 ramp

primary
#989722
secondary
#5758BE
accent
#43E641
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989722

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

Preview Lab → · Contrast checker → · Palette generator →

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