#9EAC24#9EAC24

#9EAC24 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.0% C 0.151 H 115.7°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#9EAC24
RGBrgb(158, 172, 36)
HSLhsl(66, 65%, 41%)
HSVhsv(66, 79%, 67%)
CMYKcmyk(8.1%, 0%, 79.1%, 32.5%)
CIE-LABlab(67.20, -21.36, 62.37)
CIE-LCHlch(67.20, 65.93, 108.91°)
OKLaboklab(71% -0.0654 0.1361)
OKLCHoklch(71% 0.151 115.7)
XYZxyz(29.1723, 36.9020, 7.2548)
Luminance0.3690 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC24 #3224AC
analogous
#AC7624 #9EAC24 #5AAC24
triadic
#9EAC24 #249EAC #AC249E
tetradic
#9EAC24 #24AC76 #3224AC #AC245A
square
#9EAC24 #24AC76 #3224AC #AC245A
split-complementary
#9EAC24 #245AAC #7624AC
monochromatic
#41470F #707919 #9EAC24 #C5D538 #D4E06A

Accessibility & contrast

On white

2.51
#9EAC24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#9EAC24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC24
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC24#FFFFFF#000000##000000
##9EAC241.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#A9A293
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac24;
/* rgb */ color: rgb(158, 172, 36);
/* oklch */ color: oklch(71.0% 0.151 115.7);
Tailwind
colors: {
  custom: {
    50: '#bec46b',
    500: '#9eac24',
    950: '#000000',
  },
}
SCSS
$custom: #9eac24;
$custom-light: #bec46b;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac24",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 36
  },
  "hsl": {
    "h": 66.176,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70997,
    "c": 0.15097,
    "h": 115.7
  },
  "luminance": 0.36902
}

Semantic roles & 50–950 ramp

primary
#9EAC24
secondary
#7066C6
accent
#3FE851
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9EAC24

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

Preview Lab → · Contrast checker → · Palette generator →

#9EAC24 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva