#989A22#989A22

#989A22 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.135 H 110.6°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#989A22
RGBrgb(152, 154, 34)
HSLhsl(61, 64%, 37%)
HSVhsv(61, 78%, 60%)
CMYKcmyk(1.3%, 0%, 77.9%, 39.6%)
CIE-LABlab(61.57, -14.88, 57.72)
CIE-LCHlch(61.57, 59.61, 104.45°)
OKLaboklab(66.36% -0.0473 0.126)
OKLCHoklch(66.36% 0.135 110.6)
XYZxyz(24.7941, 29.9028, 5.9788)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A22 #24229A
analogous
#9A6022 #989A22 #5C9A22
triadic
#989A22 #22989A #9A2298
tetradic
#989A22 #229A60 #24229A #9A225C
square
#989A22 #229A60 #24229A #9A225C
split-complementary
#989A22 #225C9A #60229A
monochromatic
#35360C #676817 #989A22 #C9CC2D #D9DB5B

Accessibility & contrast

On white

3.01
#989A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#989A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A22
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A22#FFFFFF#000000##000000
##989A221.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a22;
/* rgb */ color: rgb(152, 154, 34);
/* oklch */ color: oklch(66.4% 0.135 110.6);
Tailwind
colors: {
  custom: {
    50: '#bab768',
    500: '#989a22',
    950: '#000000',
  },
}
SCSS
$custom: #989a22;
$custom-light: #bab768;
$custom-dark: #000000;
JSON
{
  "hex": "#989a22",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 34
  },
  "hsl": {
    "h": 61,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66361,
    "c": 0.1346,
    "h": 110.6
  },
  "luminance": 0.29902
}

Semantic roles & 50–950 ramp

primary
#989A22
secondary
#5A58BF
accent
#41E744
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989A22

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

Preview Lab → · Contrast checker → · Palette generator →

#989A22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva