#989F24#989F24

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

Color values

HEX#989F24
RGBrgb(152, 159, 36)
HSLhsl(63, 63%, 38%)
HSVhsv(63, 77%, 62%)
CMYKcmyk(4.4%, 0%, 77.4%, 37.6%)
CIE-LABlab(63.01, -17.38, 58.40)
CIE-LCHlch(63.01, 60.93, 106.58°)
OKLaboklab(67.52% -0.054 0.1278)
OKLCHoklch(67.52% 0.139 112.9)
XYZxyz(25.6663, 31.5996, 6.4160)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989F24 #2B249F
analogous
#9F6824 #989F24 #5A9F24
triadic
#989F24 #24989F #9F2498
tetradic
#989F24 #249F68 #2B249F #9F245A
square
#989F24 #249F68 #2B249F #9F245A
split-complementary
#989F24 #245A9F #68249F
monochromatic
#393B0D #686D19 #989F24 #C7D030 #D5DB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989F24#FFFFFF#000000##000000
##989F241.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)
#AB9702
Deuteranopia (green-blind)
#AB9A2F
Tritanopia (blue-blind)
#A39588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989f24;
/* rgb */ color: rgb(152, 159, 36);
/* oklch */ color: oklch(67.5% 0.139 112.9);
Tailwind
colors: {
  custom: {
    50: '#babb6a',
    500: '#989f24',
    950: '#000000',
  },
}
SCSS
$custom: #989f24;
$custom-light: #babb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#989f24",
  "rgb": {
    "r": 152,
    "g": 159,
    "b": 36
  },
  "hsl": {
    "h": 63.415,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.1388,
    "h": 112.9
  },
  "luminance": 0.31599
}

Semantic roles & 50–950 ramp

primary
#989F24
secondary
#645EC1
accent
#42E64B
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989F24

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

Preview Lab → · Contrast checker → · Palette generator →

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