#989D22#989D22

#989D22 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.0% C 0.138 H 112.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#989D22
RGBrgb(152, 157, 34)
HSLhsl(62, 64%, 37%)
HSVhsv(62, 78%, 62%)
CMYKcmyk(3.2%, 0%, 78.3%, 38.4%)
CIE-LABlab(62.43, -16.43, 58.50)
CIE-LCHlch(62.43, 60.77, 105.69°)
OKLaboklab(67.05% -0.0516 0.1277)
OKLCHoklch(67.05% 0.138 112)
XYZxyz(25.2955, 30.9055, 6.1459)
Luminance0.3090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D22 #27229D
analogous
#9D6522 #989D22 #5B9D22
triadic
#989D22 #22989D #9D2298
tetradic
#989D22 #229D65 #27229D #9D225B
square
#989D22 #229D65 #27229D #9D225B
split-complementary
#989D22 #225B9D #65229D
monochromatic
#37380C #676B17 #989D22 #C9CF2D #D7DC5D

Accessibility & contrast

On white

2.92
#989D22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#989D22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D22
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D22#FFFFFF#000000##000000
##989D221.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#AA982D
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d22;
/* rgb */ color: rgb(152, 157, 34);
/* oklch */ color: oklch(67.0% 0.138 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab968',
    500: '#989d22',
    950: '#000000',
  },
}
SCSS
$custom: #989d22;
$custom-light: #bab968;
$custom-dark: #000000;
JSON
{
  "hex": "#989d22",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 34
  },
  "hsl": {
    "h": 62.439,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67047,
    "c": 0.13772,
    "h": 112
  },
  "luminance": 0.30905
}

Semantic roles & 50–950 ramp

primary
#989D22
secondary
#5E5AC1
accent
#40E747
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D22

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

Preview Lab → · Contrast checker → · Palette generator →

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