#E5DA40#E5DA40

#E5DA40 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 87.1% C 0.166 H 105.2°. Best body text is #000000 at 14.43:1 contrast (WCAG AA passes).

Color values

HEX#E5DA40
RGBrgb(229, 218, 64)
HSLhsl(56, 76%, 57%)
HSVhsv(56, 72%, 90%)
CMYKcmyk(0%, 4.8%, 72.1%, 10.2%)
CIE-LABlab(85.59, -13.04, 72.46)
CIE-LCHlch(85.59, 73.62, 100.20°)
OKLaboklab(87.13% -0.0435 0.1599)
OKLCHoklch(87.13% 0.166 105.2)
XYZxyz(58.3123, 67.1732, 14.7436)
Luminance0.6717 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DA40 #404BE5
analogous
#E58840 #E5DA40 #9EE540
triadic
#E5DA40 #40E5DA #DA40E5
tetradic
#E5DA40 #40E588 #404BE5 #E5409E
square
#E5DA40 #40E588 #404BE5 #E5409E
split-complementary
#E5DA40 #409EE5 #8840E5
monochromatic
#968E14 #CCC01C #E5DA40 #ECE476 #F4EFAC

Accessibility & contrast

On white

1.45
#E5DA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.43
#E5DA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DA40
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DA40#FFFFFF#000000##000000
##E5DA401.001.4514.4314.43
#FFFFFF1.451.0021.0021.00
#00000014.4321.001.001.00
##00000014.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD223
Deuteranopia (green-blind)
#F1D94B
Tritanopia (blue-blind)
#F6CBBC
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5da40;
/* rgb */ color: rgb(229, 218, 64);
/* oklch */ color: oklch(87.1% 0.166 105.2);
Tailwind
colors: {
  custom: {
    50: '#f1e57f',
    500: '#e5da40',
    950: '#000000',
  },
}
SCSS
$custom: #e5da40;
$custom-light: #f1e57f;
$custom-dark: #000000;
JSON
{
  "hex": "#e5da40",
  "rgb": {
    "r": 229,
    "g": 218,
    "b": 64
  },
  "hsl": {
    "h": 56,
    "s": 76.037,
    "l": 57.451
  },
  "oklch": {
    "l": 0.87132,
    "c": 0.16571,
    "h": 105.2
  },
  "luminance": 0.67171
}

Semantic roles & 50–950 ramp

primary
#E5DA40
secondary
#2F369A
accent
#42F335
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E5DA40

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

Preview Lab → · Contrast checker → · Palette generator →

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