#989C22#989C22

#989C22 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.137 H 111.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#989C22
RGBrgb(152, 156, 34)
HSLhsl(62, 64%, 37%)
HSVhsv(62, 78%, 61%)
CMYKcmyk(2.6%, 0%, 78.2%, 38.8%)
CIE-LABlab(62.14, -15.92, 58.24)
CIE-LCHlch(62.14, 60.38, 105.28°)
OKLaboklab(66.82% -0.0501 0.1271)
OKLCHoklch(66.82% 0.137 111.5)
XYZxyz(25.1270, 30.5685, 6.0898)
Luminance0.3057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989C22 #26229C
analogous
#9C6322 #989C22 #5B9C22
triadic
#989C22 #22989C #9C2298
tetradic
#989C22 #229C63 #26229C #9C225B
square
#989C22 #229C63 #26229C #9C225B
split-complementary
#989C22 #225B9C #63229C
monochromatic
#36380C #676A17 #989C22 #C9CE2D #D7DC5D

Accessibility & contrast

On white

2.95
#989C22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#989C22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989C22
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989C22#FFFFFF#000000##000000
##989C221.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9982D
Tritanopia (blue-blind)
#A39285
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #989c22;
/* rgb */ color: rgb(152, 156, 34);
/* oklch */ color: oklch(66.8% 0.137 111.5);
Tailwind
colors: {
  custom: {
    50: '#bab968',
    500: '#989c22',
    950: '#000000',
  },
}
SCSS
$custom: #989c22;
$custom-light: #bab968;
$custom-dark: #000000;
JSON
{
  "hex": "#989c22",
  "rgb": {
    "r": 152,
    "g": 156,
    "b": 34
  },
  "hsl": {
    "h": 61.967,
    "s": 64.211,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66818,
    "c": 0.13667,
    "h": 111.5
  },
  "luminance": 0.30568
}

Semantic roles & 50–950 ramp

primary
#989C22
secondary
#5D5AC0
accent
#41E746
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989C22

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

Preview Lab → · Contrast checker → · Palette generator →

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