#989E21#989E21

#989E21 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.3% C 0.139 H 112.5°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#989E21
RGBrgb(152, 158, 33)
HSLhsl(63, 65%, 37%)
HSVhsv(63, 79%, 62%)
CMYKcmyk(3.8%, 0%, 79.1%, 38%)
CIE-LABlab(62.71, -16.99, 59.06)
CIE-LCHlch(62.71, 61.46, 106.05°)
OKLaboklab(67.27% -0.0532 0.1287)
OKLCHoklch(67.27% 0.139 112.5)
XYZxyz(25.4511, 31.2395, 6.1277)
Luminance0.3124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E21 #27219E
analogous
#9E6621 #989E21 #5A9E21
triadic
#989E21 #21989E #9E2198
tetradic
#989E21 #219E66 #27219E #9E215A
square
#989E21 #219E66 #27219E #9E215A
split-complementary
#989E21 #215A9E #66219E
monochromatic
#37390C #676B16 #989E21 #C9D12C #D7DD5C

Accessibility & contrast

On white

2.90
#989E21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#989E21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989E21
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989E21#FFFFFF#000000##000000
##989E211.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992C
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e21;
/* rgb */ color: rgb(152, 158, 33);
/* oklch */ color: oklch(67.3% 0.139 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba68',
    500: '#989e21',
    950: '#000000',
  },
}
SCSS
$custom: #989e21;
$custom-light: #baba68;
$custom-dark: #000000;
JSON
{
  "hex": "#989e21",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 33
  },
  "hsl": {
    "h": 62.88,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67271,
    "c": 0.13927,
    "h": 112.5
  },
  "luminance": 0.31239
}

Semantic roles & 50–950 ramp

primary
#989E21
secondary
#5E59C1
accent
#3FE848
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E21

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

Preview Lab → · Contrast checker → · Palette generator →

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