#E9DC5A#E9DC5A

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

Color values

HEX#E9DC5A
RGBrgb(233, 220, 90)
HSLhsl(55, 76%, 63%)
HSVhsv(55, 61%, 91%)
CMYKcmyk(0%, 5.6%, 61.4%, 8.6%)
CIE-LABlab(86.63, -10.97, 63.59)
CIE-LCHlch(86.63, 64.53, 99.79°)
OKLaboklab(88.1% -0.0352 0.1452)
OKLCHoklch(88.1% 0.149 103.6)
XYZxyz(61.0452, 69.2505, 19.8220)
Luminance0.6925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC5A #5A67E9
analogous
#E9945A #E9DC5A #AFE95A
triadic
#E9DC5A #5AE9DC #DC5AE9
tetradic
#E9DC5A #5AE994 #5A67E9 #E95AAF
square
#E9DC5A #5AE994 #5A67E9 #E95AAF
split-complementary
#E9DC5A #5AAFE9 #945AE9
monochromatic
#B1A318 #E2D124 #E9DC5A #F0E790 #F7F3C6

Accessibility & contrast

On white

1.41
#E9DC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.85
#E9DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC5A
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC5A#FFFFFF#000000##000000
##E9DC5A1.001.4114.8514.85
#FFFFFF1.411.0021.0021.00
#00000014.8521.001.001.00
##00000014.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e9dc5a;
/* rgb */ color: rgb(233, 220, 90);
/* oklch */ color: oklch(88.1% 0.149 103.6);
Tailwind
colors: {
  custom: {
    50: '#f3e68e',
    500: '#e9dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc5a;
$custom-light: #f3e68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc5a",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 54.545,
    "s": 76.471,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88095,
    "c": 0.1494,
    "h": 103.6
  },
  "luminance": 0.69248
}

Semantic roles & 50–950 ramp

primary
#E9DC5A
secondary
#3641B1
accent
#1FD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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