#989D24#989D24

#989D24 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.1% C 0.137 H 112.0°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#989D24
RGBrgb(152, 157, 36)
HSLhsl(62, 63%, 38%)
HSVhsv(62, 77%, 62%)
CMYKcmyk(3.2%, 0%, 77.1%, 38.4%)
CIE-LABlab(62.44, -16.35, 57.87)
CIE-LCHlch(62.44, 60.14, 105.78°)
OKLaboklab(67.06% -0.0512 0.1267)
OKLCHoklch(67.06% 0.137 112)
XYZxyz(25.3252, 30.9173, 6.3023)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989D24 #29249D
analogous
#9D6524 #989D24 #5C9D24
triadic
#989D24 #24989D #9D2498
tetradic
#989D24 #249D65 #29249D #9D245C
square
#989D24 #249D65 #29249D #9D245C
split-complementary
#989D24 #245C9D #65249D
monochromatic
#38390D #686B19 #989D24 #C8CF2F #D6DB61

Accessibility & contrast

On white

2.92
#989D24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#989D24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989D24
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989D24#FFFFFF#000000##000000
##989D241.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99604
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#A39386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #989d24;
/* rgb */ color: rgb(152, 157, 36);
/* oklch */ color: oklch(67.1% 0.137 112.0);
Tailwind
colors: {
  custom: {
    50: '#bab969',
    500: '#989d24',
    950: '#000000',
  },
}
SCSS
$custom: #989d24;
$custom-light: #bab969;
$custom-dark: #000000;
JSON
{
  "hex": "#989d24",
  "rgb": {
    "r": 152,
    "g": 157,
    "b": 36
  },
  "hsl": {
    "h": 62.479,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67058,
    "c": 0.13667,
    "h": 112
  },
  "luminance": 0.30917
}

Semantic roles & 50–950 ramp

primary
#989D24
secondary
#615DC0
accent
#42E649
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989D24

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

Preview Lab → · Contrast checker → · Palette generator →

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