#E9DC5C#E9DC5C

#E9DC5C is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.1% C 0.148 H 103.5°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#E9DC5C
RGBrgb(233, 220, 92)
HSLhsl(54, 76%, 64%)
HSVhsv(54, 61%, 91%)
CMYKcmyk(0%, 5.6%, 60.5%, 8.6%)
CIE-LABlab(86.64, -10.84, 62.76)
CIE-LCHlch(86.64, 63.69, 99.80°)
OKLaboklab(88.11% -0.0346 0.1437)
OKLCHoklch(88.11% 0.148 103.5)
XYZxyz(61.1315, 69.2850, 20.2764)
Luminance0.6928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DC5C #5C69E9
analogous
#E9955C #E9DC5C #AFE95C
triadic
#E9DC5C #5CE9DC #DC5CE9
tetradic
#E9DC5C #5CE995 #5C69E9 #E95CAF
square
#E9DC5C #5CE995 #5C69E9 #E95CAF
split-complementary
#E9DC5C #5CAFE9 #955CE9
monochromatic
#B3A418 #E2D026 #E9DC5C #F0E892 #F8F3C8

Accessibility & contrast

On white

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

On black

14.86
#E9DC5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DC5C
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DC5C#FFFFFF#000000##000000
##E9DC5C1.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED54D
Deuteranopia (green-blind)
#F2DC63
Tritanopia (blue-blind)
#F9CEC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e9dc5c;
/* rgb */ color: rgb(233, 220, 92);
/* oklch */ color: oklch(88.1% 0.148 103.5);
Tailwind
colors: {
  custom: {
    50: '#f3e68f',
    500: '#e9dc5c',
    950: '#000000',
  },
}
SCSS
$custom: #e9dc5c;
$custom-light: #f3e68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e9dc5c",
  "rgb": {
    "r": 233,
    "g": 220,
    "b": 92
  },
  "hsl": {
    "h": 54.468,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88114,
    "c": 0.14781,
    "h": 103.5
  },
  "luminance": 0.69283
}

Semantic roles & 50–950 ramp

primary
#E9DC5C
secondary
#3642B3
accent
#20D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E9DC5C

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

Preview Lab → · Contrast checker → · Palette generator →

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