#989B24#989B24

#989B24 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.6% C 0.135 H 111.0°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#989B24
RGBrgb(152, 155, 36)
HSLhsl(62, 62%, 37%)
HSVhsv(62, 77%, 61%)
CMYKcmyk(1.9%, 0%, 76.8%, 39.2%)
CIE-LABlab(61.87, -15.31, 57.35)
CIE-LCHlch(61.87, 59.36, 104.95°)
OKLaboklab(66.6% -0.0483 0.1256)
OKLCHoklch(66.6% 0.135 111)
XYZxyz(24.9896, 30.2461, 6.1904)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989B24 #27249B
analogous
#9B6324 #989B24 #5C9B24
triadic
#989B24 #24989B #9B2498
tetradic
#989B24 #249B63 #27249B #9B245C
square
#989B24 #249B63 #27249B #9B245C
split-complementary
#989B24 #245C9B #63249B
monochromatic
#37380D #676918 #989B24 #C9CD30 #D7DA5F

Accessibility & contrast

On white

2.98
#989B24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#989B24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #989B24
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989B24#FFFFFF#000000##000000
##989B241.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89405
Deuteranopia (green-blind)
#A8972E
Tritanopia (blue-blind)
#A39185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989b24;
/* rgb */ color: rgb(152, 155, 36);
/* oklch */ color: oklch(66.6% 0.135 111.0);
Tailwind
colors: {
  custom: {
    50: '#bab869',
    500: '#989b24',
    950: '#000000',
  },
}
SCSS
$custom: #989b24;
$custom-light: #bab869;
$custom-dark: #000000;
JSON
{
  "hex": "#989b24",
  "rgb": {
    "r": 152,
    "g": 155,
    "b": 36
  },
  "hsl": {
    "h": 61.513,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.66601,
    "c": 0.13458,
    "h": 111
  },
  "luminance": 0.30245
}

Semantic roles & 50–950 ramp

primary
#989B24
secondary
#5E5CBF
accent
#42E547
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989B24

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

Preview Lab → · Contrast checker → · Palette generator →

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