#989122#989122

#989122 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.126 H 105.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#989122
RGBrgb(152, 145, 34)
HSLhsl(56, 63%, 36%)
HSVhsv(56, 78%, 60%)
CMYKcmyk(0%, 4.6%, 77.6%, 40.4%)
CIE-LABlab(59.01, -10.12, 55.39)
CIE-LCHlch(59.01, 56.31, 100.36°)
OKLaboklab(64.32% -0.034 0.1211)
OKLCHoklch(64.32% 0.126 105.7)
XYZxyz(23.3640, 27.0426, 5.5021)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989122 #222998
analogous
#985622 #989122 #649822
triadic
#989122 #229891 #912298
tetradic
#989122 #229856 #222998 #982264
square
#989122 #229856 #222998 #982264
split-complementary
#989122 #226498 #562298
monochromatic
#34320C #666117 #989122 #CAC12D #DAD35A

Accessibility & contrast

On white

3.28
#989122 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#989122 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989122
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989122#FFFFFF#000000##000000
##9891221.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B07
Deuteranopia (green-blind)
#A1902B
Tritanopia (blue-blind)
#A4877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #989122;
/* rgb */ color: rgb(152, 145, 34);
/* oklch */ color: oklch(64.3% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#bab067',
    500: '#989122',
    950: '#000000',
  },
}
SCSS
$custom: #989122;
$custom-light: #bab067;
$custom-dark: #000000;
JSON
{
  "hex": "#989122",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 34
  },
  "hsl": {
    "h": 56.441,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.6432,
    "c": 0.12574,
    "h": 105.7
  },
  "luminance": 0.27042
}

Semantic roles & 50–950 ramp

primary
#989122
secondary
#575DBE
accent
#4BE641
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989122

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

Preview Lab → · Contrast checker → · Palette generator →

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