#989E22#989E22

#989E22 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.139 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#989E22
RGBrgb(152, 158, 34)
HSLhsl(63, 65%, 38%)
HSVhsv(63, 78%, 62%)
CMYKcmyk(3.8%, 0%, 78.5%, 38%)
CIE-LABlab(62.71, -16.95, 58.76)
CIE-LCHlch(62.71, 61.16, 106.09°)
OKLaboklab(67.28% -0.053 0.1282)
OKLCHoklch(67.28% 0.139 112.5)
XYZxyz(25.4653, 31.2452, 6.2025)
Luminance0.3125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E22 #28229E
analogous
#9E6622 #989E22 #5A9E22
triadic
#989E22 #22989E #9E2298
tetradic
#989E22 #229E66 #28229E #9E225A
square
#989E22 #229E66 #28229E #9E225A
split-complementary
#989E22 #225A9E #66229E
monochromatic
#37390C #686C17 #989E22 #C8D02D #D6DC5E

Accessibility & contrast

On white

2.90
#989E22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#989E22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E22
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E22#FFFFFF#000000##000000
##989E221.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992D
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e22;
/* rgb */ color: rgb(152, 158, 34);
/* oklch */ color: oklch(67.3% 0.139 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba69',
    500: '#989e22',
    950: '#000000',
  },
}
SCSS
$custom: #989e22;
$custom-light: #baba69;
$custom-dark: #000000;
JSON
{
  "hex": "#989e22",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 62.903,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67276,
    "c": 0.13877,
    "h": 112.5
  },
  "luminance": 0.31245
}

Semantic roles & 50–950 ramp

primary
#989E22
secondary
#605BC1
accent
#40E848
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E22

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

Preview Lab → · Contrast checker → · Palette generator →

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