#E9D962#E9D962

#E9D962 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.6% C 0.140 H 101.7°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#E9D962
RGBrgb(233, 217, 98)
HSLhsl(53, 75%, 65%)
HSVhsv(53, 58%, 91%)
CMYKcmyk(0%, 6.9%, 57.9%, 8.6%)
CIE-LABlab(85.92, -8.92, 59.35)
CIE-LCHlch(85.92, 60.02, 98.55°)
OKLaboklab(87.56% -0.0284 0.1372)
OKLCHoklch(87.56% 0.14 101.7)
XYZxyz(60.6239, 67.8335, 21.4527)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9D962 #6272E9
analogous
#E99662 #E9D962 #B5E962
triadic
#E9D962 #62E9D9 #D962E9
tetradic
#E9D962 #62E996 #6272E9 #E962B5
square
#E9D962 #62E996 #6272E9 #E962B5
split-complementary
#E9D962 #62B5E9 #9662E9
monochromatic
#B7A41A #E1CC2C #E9D962 #F1E698 #F8F3CD

Accessibility & contrast

On white

1.44
#E9D962 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#E9D962 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9D962
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9D962#FFFFFF#000000##000000
##E9D9621.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD355
Deuteranopia (green-blind)
#F0DA68
Tritanopia (blue-blind)
#F9CBBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e9d962;
/* rgb */ color: rgb(233, 217, 98);
/* oklch */ color: oklch(87.6% 0.140 101.7);
Tailwind
colors: {
  custom: {
    50: '#f3e493',
    500: '#e9d962',
    950: '#000000',
  },
}
SCSS
$custom: #e9d962;
$custom-light: #f3e493;
$custom-dark: #000000;
JSON
{
  "hex": "#e9d962",
  "rgb": {
    "r": 233,
    "g": 217,
    "b": 98
  },
  "hsl": {
    "h": 52.889,
    "s": 75.419,
    "l": 64.902
  },
  "oklch": {
    "l": 0.87558,
    "c": 0.14012,
    "h": 101.7
  },
  "luminance": 0.67831
}

Semantic roles & 50–950 ramp

primary
#E9D962
secondary
#3847B7
accent
#26D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9D962

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

Preview Lab → · Contrast checker → · Palette generator →

#E9D962 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva