#E4E956#E4E956

#E4E956 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.4% C 0.166 H 111.2°. Best body text is #000000 at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#E4E956
RGBrgb(228, 233, 86)
HSLhsl(62, 77%, 63%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(2.1%, 0%, 63.1%, 8.6%)
CIE-LABlab(89.60, -19.65, 68.28)
CIE-LCHlch(89.60, 71.05, 106.06°)
OKLaboklab(90.36% -0.0599 0.1547)
OKLCHoklch(90.36% 0.166 111.2)
XYZxyz(62.8154, 75.4452, 20.0557)
Luminance0.7544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E956 #5B56E9
analogous
#E9A556 #E4E956 #9AE956
triadic
#E4E956 #56E4E9 #E956E4
tetradic
#E4E956 #56E9A5 #5B56E9 #E9569A
square
#E4E956 #56E9A5 #5B56E9 #E9569A
split-complementary
#E4E956 #569AE9 #A556E9
monochromatic
#A9AE17 #DBE220 #E4E956 #EDF08C #F5F7C2

Accessibility & contrast

On white

1.31
#E4E956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.09
#E4E956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E956
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E956#FFFFFF#000000##000000
##E4E9561.001.3116.0916.09
#FFFFFF1.311.0021.0021.00
#00000016.0921.001.001.00
##00000016.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF43
Deuteranopia (green-blind)
#FBE360
Tritanopia (blue-blind)
#F3DBCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e956;
/* rgb */ color: rgb(228, 233, 86);
/* oklch */ color: oklch(90.4% 0.166 111.2);
Tailwind
colors: {
  custom: {
    50: '#f0ef8c',
    500: '#e4e956',
    950: '#000000',
  },
}
SCSS
$custom: #e4e956;
$custom-light: #f0ef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e956",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 62.041,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90358,
    "c": 0.16584,
    "h": 111.2
  },
  "luminance": 0.75444
}

Semantic roles & 50–950 ramp

primary
#E4E956
secondary
#3934AF
accent
#0CD913
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4E956

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

Preview Lab → · Contrast checker → · Palette generator →

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