#989B22#989B22

#989B22 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.136 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#989B22
RGBrgb(152, 155, 34)
HSLhsl(61, 64%, 37%)
HSVhsv(61, 78%, 61%)
CMYKcmyk(1.9%, 0%, 78.1%, 39.2%)
CIE-LABlab(61.86, -15.40, 57.98)
CIE-LCHlch(61.86, 59.99, 104.87°)
OKLaboklab(66.59% -0.0487 0.1266)
OKLCHoklch(66.59% 0.136 111)
XYZxyz(24.9599, 30.2343, 6.0340)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B22 #25229B
analogous
#9B6222 #989B22 #5B9B22
triadic
#989B22 #22989B #9B2298
tetradic
#989B22 #229B62 #25229B #9B225B
square
#989B22 #229B62 #25229B #9B225B
split-complementary
#989B22 #225B9B #62229B
monochromatic
#36370C #676917 #989B22 #C9CD2D #D8DB5C

Accessibility & contrast

On white

2.98
#989B22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#989B22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B22
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B22#FFFFFF#000000##000000
##989B221.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8972D
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b22;
/* rgb */ color: rgb(152, 155, 34);
/* oklch */ color: oklch(66.6% 0.136 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab868',
    500: '#989b22',
    950: '#000000',
  },
}
SCSS
$custom: #989b22;
$custom-light: #bab868;
$custom-dark: #000000;
JSON
{
  "hex": "#989b22",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 34
  },
  "hsl": {
    "h": 61.488,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66589,
    "c": 0.13564,
    "h": 111
  },
  "luminance": 0.30234
}

Semantic roles & 50–950 ramp

primary
#989B22
secondary
#5C59C0
accent
#41E745
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B22

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

Preview Lab → · Contrast checker → · Palette generator →

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