#9EAC30#9EAC30

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

Color values

HEX#9EAC30
RGBrgb(158, 172, 48)
HSLhsl(67, 56%, 43%)
HSVhsv(67, 72%, 67%)
CMYKcmyk(8.1%, 0%, 72.1%, 32.5%)
CIE-LABlab(67.27, -20.82, 58.47)
CIE-LCHlch(67.27, 62.06, 109.60°)
OKLaboklab(71.07% -0.0628 0.1299)
OKLCHoklch(71.07% 0.144 115.8)
XYZxyz(29.3873, 36.9880, 8.3870)
Luminance0.3699 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAC30 #3E30AC
analogous
#AC7C30 #9EAC30 #60AC30
triadic
#9EAC30 #309EAC #AC309E
tetradic
#9EAC30 #30AC7C #3E30AC #AC3060
square
#9EAC30 #30AC7C #3E30AC #AC3060
split-complementary
#9EAC30 #3060AC #7C30AC
monochromatic
#464C15 #727C23 #9EAC30 #BFCD4C #D0DA7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9EAC30#FFFFFF#000000##000000
##9EAC301.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)
#B8A319
Deuteranopia (green-blind)
#B7A53A
Tritanopia (blue-blind)
#A8A294
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #9eac30;
/* rgb */ color: rgb(158, 172, 48);
/* oklch */ color: oklch(71.1% 0.144 115.8);
Tailwind
colors: {
  custom: {
    50: '#bec471',
    500: '#9eac30',
    950: '#000000',
  },
}
SCSS
$custom: #9eac30;
$custom-light: #bec471;
$custom-dark: #000000;
JSON
{
  "hex": "#9eac30",
  "rgb": {
    "r": 158,
    "g": 172,
    "b": 48
  },
  "hsl": {
    "h": 66.774,
    "s": 56.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.71069,
    "c": 0.14433,
    "h": 115.8
  },
  "luminance": 0.36988
}

Semantic roles & 50–950 ramp

primary
#9EAC30
secondary
#7E75C3
accent
#48E059
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#121208
muted
#81817B

Preview Lab

Preview with #9EAC30

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

Preview Lab → · Contrast checker → · Palette generator →

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