#E4D757#E4D757

#E4D757 is a very light, vivid yellow. Relative luminance 0.658; OKLCH L 86.6% C 0.147 H 103.5°. Best body text is #000000 at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#E4D757
RGBrgb(228, 215, 87)
HSLhsl(54, 72%, 62%)
HSVhsv(54, 62%, 89%)
CMYKcmyk(0%, 5.7%, 61.8%, 10.6%)
CIE-LABlab(84.89, -10.71, 62.86)
CIE-LCHlch(84.89, 63.76, 99.67°)
OKLaboklab(86.6% -0.0345 0.1434)
OKLCHoklch(86.6% 0.147 103.5)
XYZxyz(58.0178, 65.7851, 18.6567)
Luminance0.6578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D757 #5764E4
analogous
#E49157 #E4D757 #ABE457
triadic
#E4D757 #57E4D7 #D757E4
tetradic
#E4D757 #57E491 #5764E4 #E457AB
square
#E4D757 #57E491 #5764E4 #E457AB
split-complementary
#E4D757 #57ABE4 #9157E4
monochromatic
#A6991B #DBCA23 #E4D757 #ECE48C #F5F0C0

Accessibility & contrast

On white

1.48
#E4D757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.16
#E4D757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D757
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D757#FFFFFF#000000##000000
##E4D7571.001.4814.1614.16
#FFFFFF1.481.0021.0021.00
#00000014.1621.001.001.00
##00000014.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D048
Deuteranopia (green-blind)
#EDD75E
Tritanopia (blue-blind)
#F4C9BC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d757;
/* rgb */ color: rgb(228, 215, 87);
/* oklch */ color: oklch(86.6% 0.147 103.5);
Tailwind
colors: {
  custom: {
    50: '#f0e38c',
    500: '#e4d757',
    950: '#000000',
  },
}
SCSS
$custom: #e4d757;
$custom-light: #f0e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d757",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 87
  },
  "hsl": {
    "h": 54.468,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.86603,
    "c": 0.14744,
    "h": 103.5
  },
  "luminance": 0.65783
}

Semantic roles & 50–950 ramp

primary
#E4D757
secondary
#3742A8
accent
#23D411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D757

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

Preview Lab → · Contrast checker → · Palette generator →

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