#E4E56F#E4E56F

#E4E56F is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.8% C 0.141 H 109.4°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#E4E56F
RGBrgb(228, 229, 111)
HSLhsl(61, 69%, 67%)
HSVhsv(61, 52%, 90%)
CMYKcmyk(0.4%, 0%, 51.5%, 10.2%)
CIE-LABlab(88.77, -15.92, 56.65)
CIE-LCHlch(88.77, 58.84, 105.69°)
OKLaboklab(89.77% -0.0467 0.1329)
OKLCHoklch(89.77% 0.141 109.4)
XYZxyz(62.8850, 73.6818, 25.9452)
Luminance0.7368 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E56F #706FE5
analogous
#E5AB6F #E4E56F #A9E56F
triadic
#E4E56F #6FE4E5 #E56FE4
tetradic
#E4E56F #6FE5AB #706FE5 #E56FA9
square
#E4E56F #6FE5AB #706FE5 #E56FA9
split-complementary
#E4E56F #6FA9E5 #AB6FE5
monochromatic
#B7B821 #DADC3B #E4E56F #EEEEA3 #F7F8D7

Accessibility & contrast

On white

1.33
#E4E56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#E4E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E56F
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E56F#FFFFFF#000000##000000
##E4E56F1.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD64
Deuteranopia (green-blind)
#F6E175
Tritanopia (blue-blind)
#F2D9CA
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e4e56f;
/* rgb */ color: rgb(228, 229, 111);
/* oklch */ color: oklch(89.8% 0.141 109.4);
Tailwind
colors: {
  custom: {
    50: '#efed9b',
    500: '#e4e56f',
    950: '#000000',
  },
}
SCSS
$custom: #e4e56f;
$custom-light: #efed9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e56f",
  "rgb": {
    "r": 228,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 60.508,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89768,
    "c": 0.14087,
    "h": 109.4
  },
  "luminance": 0.7368
}

Semantic roles & 50–950 ramp

primary
#E4E56F
secondary
#4140B8
accent
#14D116
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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