#989225#989225

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

Color values

HEX#989225
RGBrgb(152, 146, 37)
HSLhsl(57, 61%, 37%)
HSVhsv(57, 76%, 60%)
CMYKcmyk(0%, 3.9%, 75.7%, 40.4%)
CIE-LABlab(59.31, -10.53, 54.64)
CIE-LCHlch(59.31, 55.64, 100.91°)
OKLaboklab(64.56% -0.0348 0.12)
OKLCHoklch(64.56% 0.125 106.2)
XYZxyz(23.5627, 27.3676, 5.7912)
Luminance0.2737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989225 #252B98
analogous
#985925 #989225 #649825
triadic
#989225 #259892 #922598
tetradic
#989225 #259859 #252B98 #982564
square
#989225 #259859 #252B98 #982564
split-complementary
#989225 #256498 #592598
monochromatic
#36330D #676319 #989225 #C9C131 #D8D25F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989225#FFFFFF#000000##000000
##9892251.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)
#9F8C0E
Deuteranopia (green-blind)
#A1912D
Tritanopia (blue-blind)
#A4887D
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #989225;
/* rgb */ color: rgb(152, 146, 37);
/* oklch */ color: oklch(64.6% 0.125 106.2);
Tailwind
colors: {
  custom: {
    50: '#bab168',
    500: '#989225',
    950: '#000000',
  },
}
SCSS
$custom: #989225;
$custom-light: #bab168;
$custom-dark: #000000;
JSON
{
  "hex": "#989225",
  "rgb": {
    "r": 152,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 56.87,
    "s": 60.847,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64564,
    "c": 0.12499,
    "h": 106.2
  },
  "luminance": 0.27367
}

Semantic roles & 50–950 ramp

primary
#989225
secondary
#5C61BD
accent
#4CE444
background
#FBFAF6
surface
#F7F5EB
border
#D0CFC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #989225

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

Preview Lab → · Contrast checker → · Palette generator →

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