#989224#989224

#989224 is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.6% C 0.126 H 106.2°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#989224
RGBrgb(152, 146, 36)
HSLhsl(57, 62%, 37%)
HSVhsv(57, 76%, 60%)
CMYKcmyk(0%, 3.9%, 76.3%, 40.4%)
CIE-LABlab(59.31, -10.57, 54.98)
CIE-LCHlch(59.31, 55.99, 100.88°)
OKLaboklab(64.56% -0.0351 0.1206)
OKLCHoklch(64.56% 0.126 106.2)
XYZxyz(23.5472, 27.3614, 5.7096)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989224 #242A98
analogous
#985824 #989224 #649824
triadic
#989224 #249892 #922498
tetradic
#989224 #249858 #242A98 #982464
square
#989224 #249858 #242A98 #982464
split-complementary
#989224 #246498 #582498
monochromatic
#35330D #676218 #989224 #C9C230 #D9D25E

Accessibility & contrast

On white

3.24
#989224 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##989224#FFFFFF#000000##000000
##9892241.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #989224;
/* rgb */ color: rgb(152, 146, 36);
/* oklch */ color: oklch(64.6% 0.126 106.2);
Tailwind
colors: {
  custom: {
    50: '#bab168',
    500: '#989224',
    950: '#000000',
  },
}
SCSS
$custom: #989224;
$custom-light: #bab168;
$custom-dark: #000000;
JSON
{
  "hex": "#989224",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 36
  },
  "hsl": {
    "h": 56.897,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.64558,
    "c": 0.12557,
    "h": 106.2
  },
  "luminance": 0.27361
}

Semantic roles & 50–950 ramp

primary
#989224
secondary
#5A5FBE
accent
#4BE543
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #989224

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

Preview Lab → · Contrast checker → · Palette generator →

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