#E4E056#E4E056

#E4E056 is a very light, vivid yellow. Relative luminance 0.705; OKLCH L 88.5% C 0.157 H 107.6°. Best body text is #000000 at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#E4E056
RGBrgb(228, 224, 86)
HSLhsl(58, 72%, 62%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 1.8%, 62.3%, 10.6%)
CIE-LABlab(87.23, -15.25, 65.78)
CIE-LCHlch(87.23, 67.52, 103.06°)
OKLaboklab(88.47% -0.0475 0.1494)
OKLCHoklch(88.47% 0.157 107.6)
XYZxyz(60.3323, 70.4790, 19.2280)
Luminance0.7048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E056 #565AE4
analogous
#E49956 #E4E056 #A1E456
triadic
#E4E056 #56E4E0 #E056E4
tetradic
#E4E056 #56E499 #565AE4 #E456A1
square
#E4E056 #56E499 #565AE4 #E456A1
split-complementary
#E4E056 #56A1E4 #9956E4
monochromatic
#A5A11A #DAD523 #E4E056 #ECEA8B #F5F3C0

Accessibility & contrast

On white

1.39
#E4E056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.10
#E4E056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E056
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E056#FFFFFF#000000##000000
##E4E0561.001.3915.1015.10
#FFFFFF1.391.0021.0021.00
#00000015.1021.001.001.00
##00000015.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D845
Deuteranopia (green-blind)
#F4DD5E
Tritanopia (blue-blind)
#F3D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e4e056;
/* rgb */ color: rgb(228, 224, 86);
/* oklch */ color: oklch(88.5% 0.157 107.6);
Tailwind
colors: {
  custom: {
    50: '#f0e98c',
    500: '#e4e056',
    950: '#000000',
  },
}
SCSS
$custom: #e4e056;
$custom-light: #f0e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e056",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 58.31,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.88467,
    "c": 0.15675,
    "h": 107.6
  },
  "luminance": 0.70477
}

Semantic roles & 50–950 ramp

primary
#E4E056
secondary
#373AA7
accent
#16D511
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4E056

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

Preview Lab → · Contrast checker → · Palette generator →

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