#E9DF5C#E9DF5C

#E9DF5C is a very light, vivid yellow. Relative luminance 0.709; OKLCH L 88.7% C 0.151 H 104.9°. Best body text is #000000 at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#E9DF5C
RGBrgb(233, 223, 92)
HSLhsl(56, 76%, 64%)
HSVhsv(56, 61%, 91%)
CMYKcmyk(0%, 4.3%, 60.5%, 8.6%)
CIE-LABlab(87.42, -12.33, 63.61)
CIE-LCHlch(87.42, 64.80, 100.97°)
OKLaboklab(88.73% -0.0388 0.1455)
OKLCHoklch(88.73% 0.151 104.9)
XYZxyz(61.9259, 70.8738, 20.5412)
Luminance0.7087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E9DF5C #5C66E9
analogous
#E9985C #E9DF5C #ACE95C
triadic
#E9DF5C #5CE9DF #DF5CE9
tetradic
#E9DF5C #5CE998 #5C66E9 #E95CAC
square
#E9DF5C #5CE998 #5C66E9 #E95CAC
split-complementary
#E9DF5C #5CACE9 #985CE9
monochromatic
#B3A818 #E2D426 #E9DF5C #F0EA92 #F8F4C8

Accessibility & contrast

On white

1.38
#E9DF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.17
#E9DF5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E9DF5C
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E9DF5C#FFFFFF#000000##000000
##E9DF5C1.001.3815.1715.17
#FFFFFF1.381.0021.0021.00
#00000015.1721.001.001.00
##00000015.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D84D
Deuteranopia (green-blind)
#F5DE63
Tritanopia (blue-blind)
#F9D1C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e9df5c;
/* rgb */ color: rgb(233, 223, 92);
/* oklch */ color: oklch(88.7% 0.151 104.9);
Tailwind
colors: {
  custom: {
    50: '#f3e88f',
    500: '#e9df5c',
    950: '#000000',
  },
}
SCSS
$custom: #e9df5c;
$custom-light: #f3e88f;
$custom-dark: #000000;
JSON
{
  "hex": "#e9df5c",
  "rgb": {
    "r": 233,
    "g": 223,
    "b": 92
  },
  "hsl": {
    "h": 55.745,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.88733,
    "c": 0.1506,
    "h": 104.9
  },
  "luminance": 0.70872
}

Semantic roles & 50–950 ramp

primary
#E9DF5C
secondary
#363FB3
accent
#1CD80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E9DF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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