#E4D257#E4D257

#E4D257 is a very light, vivid yellow. Relative luminance 0.633; OKLCH L 85.6% C 0.143 H 101.0°. Best body text is #000000 at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#E4D257
RGBrgb(228, 210, 87)
HSLhsl(52, 72%, 62%)
HSVhsv(52, 62%, 89%)
CMYKcmyk(0%, 7.9%, 61.8%, 10.6%)
CIE-LABlab(83.59, -8.20, 61.45)
CIE-LCHlch(83.59, 62.00, 97.60°)
OKLaboklab(85.57% -0.0273 0.1404)
OKLCHoklch(85.57% 0.143 101)
XYZxyz(56.7640, 63.2776, 18.2388)
Luminance0.6328 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D257 #5769E4
analogous
#E48B57 #E4D257 #B0E457
triadic
#E4D257 #57E4D2 #D257E4
tetradic
#E4D257 #57E48B #5769E4 #E457B0
square
#E4D257 #57E48B #5769E4 #E457B0
split-complementary
#E4D257 #57B0E4 #8B57E4
monochromatic
#A6941B #DBC323 #E4D257 #ECE08C #F5EEC0

Accessibility & contrast

On white

1.54
#E4D257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.66
#E4D257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D257
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D257#FFFFFF#000000##000000
##E4D2571.001.5413.6613.66
#FFFFFF1.541.0021.0021.00
#00000013.6621.001.001.00
##00000013.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC49
Deuteranopia (green-blind)
#E9D45E
Tritanopia (blue-blind)
#F4C4B8
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d257;
/* rgb */ color: rgb(228, 210, 87);
/* oklch */ color: oklch(85.6% 0.143 101.0);
Tailwind
colors: {
  custom: {
    50: '#f0df8b',
    500: '#e4d257',
    950: '#000000',
  },
}
SCSS
$custom: #e4d257;
$custom-light: #f0df8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d257",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 87
  },
  "hsl": {
    "h": 52.34,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85572,
    "c": 0.143,
    "h": 101
  },
  "luminance": 0.63275
}

Semantic roles & 50–950 ramp

primary
#E4D257
secondary
#3746A8
accent
#2AD411
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4D257

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

Preview Lab → · Contrast checker → · Palette generator →

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