#E4E457#E4E457

#E4E457 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.3% C 0.160 H 109.2°. Best body text is #000000 at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#E4E457
RGBrgb(228, 228, 87)
HSLhsl(60, 72%, 62%)
HSVhsv(60, 62%, 89%)
CMYKcmyk(0%, 0%, 61.8%, 10.6%)
CIE-LABlab(88.29, -17.16, 66.49)
CIE-LCHlch(88.29, 68.67, 104.47°)
OKLaboklab(89.31% -0.0527 0.151)
OKLCHoklch(89.31% 0.16 109.2)
XYZxyz(61.4605, 72.6706, 19.8043)
Luminance0.7267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E457 #5757E4
analogous
#E49E57 #E4E457 #9EE457
triadic
#E4E457 #57E4E4 #E457E4
tetradic
#E4E457 #57E49E #5757E4 #E4579E
square
#E4E457 #57E49E #5757E4 #E4579E
split-complementary
#E4E457 #579EE4 #9E57E4
monochromatic
#A6A61B #DBDB23 #E4E457 #ECEC8C #F5F5C0

Accessibility & contrast

On white

1.35
#E4E457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.53
#E4E457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E457
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E457#FFFFFF#000000##000000
##E4E4571.001.3515.5315.53
#FFFFFF1.351.0021.0021.00
#00000015.5321.001.001.00
##00000015.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB45
Deuteranopia (green-blind)
#F7E060
Tritanopia (blue-blind)
#F3D6C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e457;
/* rgb */ color: rgb(228, 228, 87);
/* oklch */ color: oklch(89.3% 0.160 109.2);
Tailwind
colors: {
  custom: {
    50: '#f0ec8d',
    500: '#e4e457',
    950: '#000000',
  },
}
SCSS
$custom: #e4e457;
$custom-light: #f0ec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e457",
  "rgb": {
    "r": 228,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 60,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.89314,
    "c": 0.15998,
    "h": 109.2
  },
  "luminance": 0.72669
}

Semantic roles & 50–950 ramp

primary
#E4E457
secondary
#3737A8
accent
#11D411
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E457

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

Preview Lab → · Contrast checker → · Palette generator →

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