#989021#989021

#989021 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.1% C 0.125 H 105.1°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#989021
RGBrgb(152, 144, 33)
HSLhsl(56, 64%, 36%)
HSVhsv(56, 78%, 60%)
CMYKcmyk(0%, 5.3%, 78.3%, 40.4%)
CIE-LABlab(58.73, -9.63, 55.46)
CIE-LCHlch(58.73, 56.29, 99.85°)
OKLaboklab(64.09% -0.0327 0.121)
OKLCHoklch(64.09% 0.125 105.1)
XYZxyz(23.1977, 26.7326, 5.3765)
Luminance0.2673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989021 #212998
analogous
#985521 #989021 #659821
triadic
#989021 #219890 #902198
tetradic
#989021 #219855 #212998 #982165
square
#989021 #219855 #212998 #982165
split-complementary
#989021 #216598 #552198
monochromatic
#33310B #666016 #989021 #CAC02C #DBD259

Accessibility & contrast

On white

3.31
#989021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#989021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989021
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989021#FFFFFF#000000##000000
##9890211.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B04
Deuteranopia (green-blind)
#A08F2A
Tritanopia (blue-blind)
#A4867B
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #989021;
/* rgb */ color: rgb(152, 144, 33);
/* oklch */ color: oklch(64.1% 0.125 105.1);
Tailwind
colors: {
  custom: {
    50: '#bab066',
    500: '#989021',
    950: '#000000',
  },
}
SCSS
$custom: #989021;
$custom-light: #bab066;
$custom-dark: #000000;
JSON
{
  "hex": "#989021",
  "rgb": {
    "r": 152,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 55.966,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.6409,
    "c": 0.12536,
    "h": 105.1
  },
  "luminance": 0.26732
}

Semantic roles & 50–950 ramp

primary
#989021
secondary
#565DBF
accent
#4CE740
background
#FBFAF6
surface
#F7F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #989021

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

Preview Lab → · Contrast checker → · Palette generator →

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