#989222#989222

#989222 is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.127 H 106.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#989222
RGBrgb(152, 146, 34)
HSLhsl(57, 63%, 36%)
HSVhsv(57, 78%, 60%)
CMYKcmyk(0%, 3.9%, 77.6%, 40.4%)
CIE-LABlab(59.30, -10.66, 55.65)
CIE-LCHlch(59.30, 56.66, 100.84°)
OKLaboklab(64.55% -0.0355 0.1216)
OKLCHoklch(64.55% 0.127 106.3)
XYZxyz(23.5175, 27.3495, 5.5533)
Luminance0.2735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989222 #222898
analogous
#985722 #989222 #639822
triadic
#989222 #229892 #922298
tetradic
#989222 #229857 #222898 #982263
square
#989222 #229857 #222898 #982263
split-complementary
#989222 #226398 #572298
monochromatic
#34320C #666217 #989222 #CAC22D #DAD45A

Accessibility & contrast

On white

3.25
#989222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#989222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989222
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989222#FFFFFF#000000##000000
##9892221.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C06
Deuteranopia (green-blind)
#A2912B
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989222;
/* rgb */ color: rgb(152, 146, 34);
/* oklch */ color: oklch(64.5% 0.127 106.3);
Tailwind
colors: {
  custom: {
    50: '#bab167',
    500: '#989222',
    950: '#000000',
  },
}
SCSS
$custom: #989222;
$custom-light: #bab167;
$custom-dark: #000000;
JSON
{
  "hex": "#989222",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 56.949,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.12669,
    "h": 106.3
  },
  "luminance": 0.27349
}

Semantic roles & 50–950 ramp

primary
#989222
secondary
#575DBE
accent
#4AE641
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989222

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

Preview Lab → · Contrast checker → · Palette generator →

#989222 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva