#989F22#989F22

#989F22 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.140 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F22
RGBrgb(152, 159, 34)
HSLhsl(63, 65%, 38%)
HSVhsv(63, 79%, 62%)
CMYKcmyk(4.4%, 0%, 78.6%, 37.6%)
CIE-LABlab(63.00, -17.46, 59.02)
CIE-LCHlch(63.00, 61.55, 106.48°)
OKLaboklab(67.51% -0.0544 0.1288)
OKLCHoklch(67.51% 0.14 112.9)
XYZxyz(25.6366, 31.5878, 6.2596)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F22 #29229F
analogous
#9F6722 #989F22 #599F22
triadic
#989F22 #22989F #9F2298
tetradic
#989F22 #229F67 #29229F #9F2259
square
#989F22 #229F67 #29229F #9F2259
split-complementary
#989F22 #22599F #67229F
monochromatic
#383A0C #686D17 #989F22 #C8D12D #D6DD5F

Accessibility & contrast

On white

2.87
#989F22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#989F22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F22
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F22#FFFFFF#000000##000000
##989F221.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f22;
/* rgb */ color: rgb(152, 159, 34);
/* oklch */ color: oklch(67.5% 0.140 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb69',
    500: '#989f22',
    950: '#000000',
  },
}
SCSS
$custom: #989f22;
$custom-light: #babb69;
$custom-dark: #000000;
JSON
{
  "hex": "#989f22",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 34
  },
  "hsl": {
    "h": 63.36,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67506,
    "c": 0.13982,
    "h": 112.9
  },
  "luminance": 0.31587
}

Semantic roles & 50–950 ramp

primary
#989F22
secondary
#615BC1
accent
#40E849
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F22

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

Preview Lab → · Contrast checker → · Palette generator →

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