#E4D157#E4D157

#E4D157 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.142 H 100.5°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E4D157
RGBrgb(228, 209, 87)
HSLhsl(52, 72%, 62%)
HSVhsv(52, 62%, 89%)
CMYKcmyk(0%, 8.3%, 61.8%, 10.6%)
CIE-LABlab(83.33, -7.69, 61.17)
CIE-LCHlch(83.33, 61.66, 97.16°)
OKLaboklab(85.37% -0.0258 0.1398)
OKLCHoklch(85.37% 0.142 100.5)
XYZxyz(56.5179, 62.7854, 18.1567)
Luminance0.6278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D157 #576AE4
analogous
#E48B57 #E4D157 #B1E457
triadic
#E4D157 #57E4D1 #D157E4
tetradic
#E4D157 #57E48B #576AE4 #E457B1
square
#E4D157 #57E48B #576AE4 #E457B1
split-complementary
#E4D157 #57B1E4 #8B57E4
monochromatic
#A6931B #DBC223 #E4D157 #ECDF8C #F5EEC0

Accessibility & contrast

On white

1.55
#E4D157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E4D157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D157
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D157#FFFFFF#000000##000000
##E4D1571.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB49
Deuteranopia (green-blind)
#E9D35D
Tritanopia (blue-blind)
#F4C3B7
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d157;
/* rgb */ color: rgb(228, 209, 87);
/* oklch */ color: oklch(85.4% 0.142 100.5);
Tailwind
colors: {
  custom: {
    50: '#f0de8b',
    500: '#e4d157',
    950: '#000000',
  },
}
SCSS
$custom: #e4d157;
$custom-light: #f0de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d157",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 87
  },
  "hsl": {
    "h": 51.915,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.85366,
    "c": 0.14215,
    "h": 100.5
  },
  "luminance": 0.62783
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4D157

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

Preview Lab → · Contrast checker → · Palette generator →

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