#9EAD40#9EAD40

#9EAD40 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 71.4% C 0.134 H 116.6°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#9EAD40
RGBrgb(158, 173, 64)
HSLhsl(68, 46%, 46%)
HSVhsv(68, 63%, 68%)
CMYKcmyk(8.7%, 0%, 63%, 32.2%)
CIE-LABlab(67.67, -20.33, 52.50)
CIE-LCHlch(67.67, 56.30, 111.17°)
OKLaboklab(71.43% -0.0599 0.1199)
OKLCHoklch(71.43% 0.134 116.6)
XYZxyz(29.9701, 37.5268, 10.5141)
Luminance0.3753 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9EAD40 #4F40AD
analogous
#AD8640 #9EAD40 #68AD40
triadic
#9EAD40 #409EAD #AD409E
tetradic
#9EAD40 #40AD86 #4F40AD #AD4068
square
#9EAD40 #40AD86 #4F40AD #AD4068
split-complementary
#9EAD40 #4068AD #8640AD
monochromatic
#4C541F #75802F #9EAD40 #B8C664 #CDD691

Accessibility & contrast

On white

2.47
#9EAD40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#9EAD40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9EAD40
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9EAD40#FFFFFF#000000##000000
##9EAD401.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#B7A647
Tritanopia (blue-blind)
#A7A496
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #9ead40;
/* rgb */ color: rgb(158, 173, 64);
/* oklch */ color: oklch(71.4% 0.134 116.6);
Tailwind
colors: {
  custom: {
    50: '#bdc57a',
    500: '#9ead40',
    950: '#000000',
  },
}
SCSS
$custom: #9ead40;
$custom-light: #bdc57a;
$custom-dark: #000000;
JSON
{
  "hex": "#9ead40",
  "rgb": {
    "r": 158,
    "g": 173,
    "b": 64
  },
  "hsl": {
    "h": 68.257,
    "s": 45.992,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71429,
    "c": 0.13401,
    "h": 116.6
  },
  "luminance": 0.37526
}

Semantic roles & 50–950 ramp

primary
#9EAD40
secondary
#8F87C2
accent
#52D664
background
#FBFCF7
surface
#F7F8EE
border
#D0D1C9
text
#121209
muted
#81817B

Preview Lab

Preview with #9EAD40

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

Preview Lab → · Contrast checker → · Palette generator →

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