#E4E257#E4E257

#E4E257 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.9% C 0.158 H 108.4°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#E4E257
RGBrgb(228, 226, 87)
HSLhsl(59, 72%, 62%)
HSVhsv(59, 62%, 89%)
CMYKcmyk(0%, 0.9%, 61.8%, 10.6%)
CIE-LABlab(87.76, -16.18, 65.94)
CIE-LCHlch(87.76, 67.89, 103.78°)
OKLaboklab(88.89% -0.05 0.1499)
OKLCHoklch(88.89% 0.158 108.4)
XYZxyz(60.9135, 71.5766, 19.6219)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E257 #5759E4
analogous
#E49C57 #E4E257 #A0E457
triadic
#E4E257 #57E4E2 #E257E4
tetradic
#E4E257 #57E49C #5759E4 #E457A0
square
#E4E257 #57E49C #5759E4 #E457A0
split-complementary
#E4E257 #57A0E4 #9C57E4
monochromatic
#A6A41B #DBD823 #E4E257 #ECEB8C #F5F4C0

Accessibility & contrast

On white

1.37
#E4E257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#E4E257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E257
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E257#FFFFFF#000000##000000
##E4E2571.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D946
Deuteranopia (green-blind)
#F6DE60
Tritanopia (blue-blind)
#F3D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e4e257;
/* rgb */ color: rgb(228, 226, 87);
/* oklch */ color: oklch(88.9% 0.158 108.4);
Tailwind
colors: {
  custom: {
    50: '#f0ea8c',
    500: '#e4e257',
    950: '#000000',
  },
}
SCSS
$custom: #e4e257;
$custom-light: #f0ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e257",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 87
  },
  "hsl": {
    "h": 59.149,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88894,
    "c": 0.15797,
    "h": 108.4
  },
  "luminance": 0.71575
}

Semantic roles & 50–950 ramp

primary
#E4E257
secondary
#3739A8
accent
#14D411
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4E257

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

Preview Lab → · Contrast checker → · Palette generator →

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