#E9DC56#E9DC56

#E9DC56 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.152 H 103.8°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#E9DC56
RGBrgb(233, 220, 86)
HSLhsl(55, 77%, 63%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 5.6%, 63.1%, 8.6%)
CIE-LABlab(86.60, -11.22, 65.23)
CIE-LCHlch(86.60, 66.18, 99.76°)
OKLaboklab(88.06% -0.0363 0.1481)
OKLCHoklch(88.06% 0.152 103.8)
XYZxyz(60.8795, 69.1842, 18.9493)
Luminance0.6918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC56 #5663E9
analogous
#E99356 #E9DC56 #ACE956
triadic
#E9DC56 #56E9DC #DC56E9
tetradic
#E9DC56 #56E993 #5663E9 #E956AC
square
#E9DC56 #56E993 #5663E9 #E956AC
split-complementary
#E9DC56 #56ACE9 #9356E9
monochromatic
#AEA117 #E2D120 #E9DC56 #F0E78C #F7F2C2

Accessibility & contrast

On white

1.42
#E9DC56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#E9DC56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC56
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC56#FFFFFF#000000##000000
##E9DC561.001.4214.8414.84
#FFFFFF1.421.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED545
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#F9CEC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e9dc56;
/* rgb */ color: rgb(233, 220, 86);
/* oklch */ color: oklch(88.1% 0.152 103.8);
Tailwind
colors: {
  custom: {
    50: '#f3e68b',
    500: '#e9dc56',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc56;
$custom-light: #f3e68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc56",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 86
  },
  "hsl": {
    "h": 54.694,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.88059,
    "c": 0.15247,
    "h": 103.8
  },
  "luminance": 0.69182
}

Semantic roles & 50–950 ramp

primary
#E9DC56
secondary
#343FAF
accent
#1ED90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E9DC56

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

Preview Lab → · Contrast checker → · Palette generator →

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