#9EAC32#9EAC32

#9EAC32 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.1% C 0.143 H 115.8°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#9EAC32
RGBrgb(158, 172, 50)
HSLhsl(67, 55%, 44%)
HSVhsv(67, 71%, 67%)
CMYKcmyk(8.1%, 0%, 70.9%, 32.5%)
CIE-LABlab(67.28, -20.71, 57.75)
CIE-LCHlch(67.28, 61.35, 109.73°)
OKLaboklab(71.08% -0.0624 0.1287)
OKLCHoklch(71.08% 0.143 115.8)
XYZxyz(29.4295, 37.0049, 8.6093)
Luminance0.3700 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC32 #4032AC
analogous
#AC7D32 #9EAC32 #61AC32
triadic
#9EAC32 #329EAC #AC329E
tetradic
#9EAC32 #32AC7D #4032AC #AC3261
square
#9EAC32 #32AC7D #4032AC #AC3261
split-complementary
#9EAC32 #3261AC #7D32AC
monochromatic
#474D16 #727D24 #9EAC32 #BECC4F #CFDA7F

Accessibility & contrast

On white

2.50
#9EAC32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#9EAC32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAC32
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAC32#FFFFFF#000000##000000
##9EAC321.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B7A53C
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac32;
/* rgb */ color: rgb(158, 172, 50);
/* oklch */ color: oklch(71.1% 0.143 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec472',
    500: '#9eac32',
    950: '#000000',
  },
}
SCSS
$custom: #9eac32;
$custom-light: #bec472;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac32",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 50
  },
  "hsl": {
    "h": 66.885,
    "s": 54.955,
    "l": 43.529
  },
  "oklch": {
    "l": 0.71083,
    "c": 0.14305,
    "h": 115.8
  },
  "luminance": 0.37004
}

Semantic roles & 50–950 ramp

primary
#9EAC32
secondary
#8077C3
accent
#4ADE5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EAC32

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

Preview Lab → · Contrast checker → · Palette generator →

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