#989121#989121

#989121 is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.3% C 0.126 H 105.7°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#989121
RGBrgb(152, 145, 33)
HSLhsl(56, 64%, 36%)
HSVhsv(56, 78%, 60%)
CMYKcmyk(0%, 4.6%, 78.3%, 40.4%)
CIE-LABlab(59.01, -10.16, 55.72)
CIE-LCHlch(59.01, 56.64, 100.34°)
OKLaboklab(64.32% -0.0342 0.1216)
OKLCHoklch(64.32% 0.126 105.7)
XYZxyz(23.3498, 27.0369, 5.4272)
Luminance0.2704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989121 #212898
analogous
#985621 #989121 #649821
triadic
#989121 #219891 #912198
tetradic
#989121 #219856 #212898 #982164
square
#989121 #219856 #212898 #982164
split-complementary
#989121 #216498 #562198
monochromatic
#33310B #666116 #989121 #CAC12C #DBD359

Accessibility & contrast

On white

3.28
#989121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#989121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989121
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989121#FFFFFF#000000##000000
##9891211.003.286.416.41
#FFFFFF3.281.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B04
Deuteranopia (green-blind)
#A1902A
Tritanopia (blue-blind)
#A4877C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #989121;
/* rgb */ color: rgb(152, 145, 33);
/* oklch */ color: oklch(64.3% 0.126 105.7);
Tailwind
colors: {
  custom: {
    50: '#bab066',
    500: '#989121',
    950: '#000000',
  },
}
SCSS
$custom: #989121;
$custom-light: #bab066;
$custom-dark: #000000;
JSON
{
  "hex": "#989121",
  "rgb": {
    "r": 152,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 56.471,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64315,
    "c": 0.12629,
    "h": 105.7
  },
  "luminance": 0.27036
}

Semantic roles & 50–950 ramp

primary
#989121
secondary
#565CBF
accent
#4AE740
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989121

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

Preview Lab → · Contrast checker → · Palette generator →

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