#989022#989022

#989022 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.125 H 105.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#989022
RGBrgb(152, 144, 34)
HSLhsl(56, 63%, 36%)
HSVhsv(56, 78%, 60%)
CMYKcmyk(0%, 5.3%, 77.6%, 40.4%)
CIE-LABlab(58.73, -9.59, 55.13)
CIE-LCHlch(58.73, 55.96, 99.86°)
OKLaboklab(64.1% -0.0325 0.1205)
OKLCHoklch(64.1% 0.125 105.1)
XYZxyz(23.2119, 26.7383, 5.4514)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989022 #222A98
analogous
#985522 #989022 #659822
triadic
#989022 #229890 #902298
tetradic
#989022 #229855 #222A98 #982265
square
#989022 #229855 #222A98 #982265
split-complementary
#989022 #226598 #552298
monochromatic
#34310C #666117 #989022 #CABF2D #DAD15A

Accessibility & contrast

On white

3.31
#989022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#989022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989022
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989022#FFFFFF#000000##000000
##9890221.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B07
Deuteranopia (green-blind)
#A08F2B
Tritanopia (blue-blind)
#A4867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #989022;
/* rgb */ color: rgb(152, 144, 34);
/* oklch */ color: oklch(64.1% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#bab067',
    500: '#989022',
    950: '#000000',
  },
}
SCSS
$custom: #989022;
$custom-light: #bab067;
$custom-dark: #000000;
JSON
{
  "hex": "#989022",
  "rgb": {
    "r": 152,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 55.932,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64095,
    "c": 0.12481,
    "h": 105.1
  },
  "luminance": 0.26737
}

Semantic roles & 50–950 ramp

primary
#989022
secondary
#575EBE
accent
#4DE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989022

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

Preview Lab → · Contrast checker → · Palette generator →

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