#989E24#989E24

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

Color values

HEX#989E24
RGBrgb(152, 158, 36)
HSLhsl(63, 63%, 38%)
HSVhsv(63, 77%, 62%)
CMYKcmyk(3.8%, 0%, 77.2%, 38%)
CIE-LABlab(62.72, -16.87, 58.14)
CIE-LCHlch(62.72, 60.53, 106.18°)
OKLaboklab(67.29% -0.0526 0.1273)
OKLCHoklch(67.29% 0.138 112.5)
XYZxyz(25.4950, 31.2571, 6.3589)
Luminance0.3126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#989E24 #2A249E
analogous
#9E6724 #989E24 #5B9E24
triadic
#989E24 #24989E #9E2498
tetradic
#989E24 #249E67 #2A249E #9E245B
square
#989E24 #249E67 #2A249E #9E245B
split-complementary
#989E24 #245B9E #67249E
monochromatic
#383A0D #686C19 #989E24 #C8D02F #D5DB61

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##989E24#FFFFFF#000000##000000
##989E241.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)
#AA9603
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#A39487
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #989e24;
/* rgb */ color: rgb(152, 158, 36);
/* oklch */ color: oklch(67.3% 0.138 112.5);
Tailwind
colors: {
  custom: {
    50: '#baba69',
    500: '#989e24',
    950: '#000000',
  },
}
SCSS
$custom: #989e24;
$custom-light: #baba69;
$custom-dark: #000000;
JSON
{
  "hex": "#989e24",
  "rgb": {
    "r": 152,
    "g": 158,
    "b": 36
  },
  "hsl": {
    "h": 62.951,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.67288,
    "c": 0.13773,
    "h": 112.5
  },
  "luminance": 0.31256
}

Semantic roles & 50–950 ramp

primary
#989E24
secondary
#625EC0
accent
#42E64A
background
#FBFBF6
surface
#F7F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #989E24

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

Preview Lab → · Contrast checker → · Palette generator →

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