#989F21#989F21

#989F21 is a light, vivid yellow. Relative luminance 0.316; OKLCH L 67.5% C 0.140 H 112.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#989F21
RGBrgb(152, 159, 33)
HSLhsl(63, 66%, 38%)
HSVhsv(63, 79%, 62%)
CMYKcmyk(4.4%, 0%, 79.2%, 37.6%)
CIE-LABlab(63.00, -17.50, 59.32)
CIE-LCHlch(63.00, 61.85, 106.44°)
OKLaboklab(67.5% -0.0546 0.1293)
OKLCHoklch(67.5% 0.14 112.9)
XYZxyz(25.6224, 31.5821, 6.1848)
Luminance0.3158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F21 #28219F
analogous
#9F6721 #989F21 #599F21
triadic
#989F21 #21989F #9F2198
tetradic
#989F21 #219F67 #28219F #9F2159
square
#989F21 #219F67 #28219F #9F2159
split-complementary
#989F21 #21599F #67219F
monochromatic
#373A0C #686C16 #989F21 #C8D22C #D6DD5D

Accessibility & contrast

On white

2.87
#989F21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#989F21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989F21
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989F21#FFFFFF#000000##000000
##989F211.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AC9A2D
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f21;
/* rgb */ color: rgb(152, 159, 33);
/* oklch */ color: oklch(67.5% 0.140 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb68',
    500: '#989f21',
    950: '#000000',
  },
}
SCSS
$custom: #989f21;
$custom-light: #babb68;
$custom-dark: #000000;
JSON
{
  "hex": "#989f21",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 33
  },
  "hsl": {
    "h": 63.333,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.67501,
    "c": 0.14032,
    "h": 112.9
  },
  "luminance": 0.31581
}

Semantic roles & 50–950 ramp

primary
#989F21
secondary
#605AC2
accent
#3FE949
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F21

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

Preview Lab → · Contrast checker → · Palette generator →

#989F21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva