#989422#989422

#989422 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.0% C 0.129 H 107.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#989422
RGBrgb(152, 148, 34)
HSLhsl(58, 63%, 36%)
HSVhsv(58, 78%, 60%)
CMYKcmyk(0%, 2.6%, 77.6%, 40.4%)
CIE-LABlab(59.86, -11.72, 56.17)
CIE-LCHlch(59.86, 57.38, 101.79°)
OKLaboklab(65% -0.0385 0.1227)
OKLCHoklch(65% 0.129 107.4)
XYZxyz(23.8285, 27.9715, 5.6569)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989422 #222698
analogous
#985922 #989422 #619822
triadic
#989422 #229894 #942298
tetradic
#989422 #229859 #222698 #982261
square
#989422 #229859 #222698 #982261
split-complementary
#989422 #226198 #592298
monochromatic
#34330C #666317 #989422 #CAC52D #DAD65A

Accessibility & contrast

On white

3.18
#989422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#989422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989422
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989422#FFFFFF#000000##000000
##9894221.003.186.596.59
#FFFFFF3.181.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E04
Deuteranopia (green-blind)
#A3922B
Tritanopia (blue-blind)
#A38A7F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #989422;
/* rgb */ color: rgb(152, 148, 34);
/* oklch */ color: oklch(65.0% 0.129 107.4);
Tailwind
colors: {
  custom: {
    50: '#bab367',
    500: '#989422',
    950: '#000000',
  },
}
SCSS
$custom: #989422;
$custom-light: #bab367;
$custom-dark: #000000;
JSON
{
  "hex": "#989422",
  "rgb": {
    "r": 152,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 57.966,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64997,
    "c": 0.12861,
    "h": 107.4
  },
  "luminance": 0.27971
}

Semantic roles & 50–950 ramp

primary
#989422
secondary
#575BBE
accent
#47E641
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121106
muted
#81807A

Preview Lab

Preview with #989422

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

Preview Lab → · Contrast checker → · Palette generator →

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