#989A24#989A24

#989A24 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.4% C 0.134 H 110.5°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#989A24
RGBrgb(152, 154, 36)
HSLhsl(61, 62%, 37%)
HSVhsv(61, 77%, 60%)
CMYKcmyk(1.3%, 0%, 76.6%, 39.6%)
CIE-LABlab(61.58, -14.79, 57.08)
CIE-LCHlch(61.58, 58.97, 104.53°)
OKLaboklab(66.37% -0.0469 0.1251)
OKLCHoklch(66.37% 0.134 110.5)
XYZxyz(24.8238, 29.9147, 6.1352)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989A24 #26249A
analogous
#9A6124 #989A24 #5D9A24
triadic
#989A24 #24989A #9A2498
tetradic
#989A24 #249A61 #26249A #9A245D
square
#989A24 #249A61 #26249A #9A245D
split-complementary
#989A24 #245D9A #61249A
monochromatic
#36370D #676818 #989A24 #C9CC30 #D7DA5F

Accessibility & contrast

On white

3.01
#989A24 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#989A24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #989A24
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##989A24#FFFFFF#000000##000000
##989A241.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79306
Deuteranopia (green-blind)
#A8962E
Tritanopia (blue-blind)
#A39084
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #989a24;
/* rgb */ color: rgb(152, 154, 36);
/* oklch */ color: oklch(66.4% 0.134 110.5);
Tailwind
colors: {
  custom: {
    50: '#bab769',
    500: '#989a24',
    950: '#000000',
  },
}
SCSS
$custom: #989a24;
$custom-light: #bab769;
$custom-dark: #000000;
JSON
{
  "hex": "#989a24",
  "rgb": {
    "r": 152,
    "g": 154,
    "b": 36
  },
  "hsl": {
    "h": 61.017,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.66372,
    "c": 0.13354,
    "h": 110.5
  },
  "luminance": 0.29914
}

Semantic roles & 50–950 ramp

primary
#989A24
secondary
#5D5BBF
accent
#43E545
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989A24

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

Preview Lab → · Contrast checker → · Palette generator →

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