#E2E456#E2E456

#E2E456 is a very light, vivid yellow. Relative luminance 0.723; OKLCH L 89.1% C 0.161 H 110.0°. Best body text is #000000 at 15.47:1 contrast (WCAG AA passes).

Color values

HEX#E2E456
RGBrgb(226, 228, 86)
HSLhsl(61, 72%, 62%)
HSVhsv(61, 62%, 89%)
CMYKcmyk(0.9%, 0%, 62.3%, 10.6%)
CIE-LABlab(88.13, -18.03, 66.68)
CIE-LCHlch(88.13, 69.07, 105.13°)
OKLaboklab(89.14% -0.0552 0.1513)
OKLCHoklch(89.14% 0.161 110)
XYZxyz(60.7890, 72.3290, 19.5610)
Luminance0.7233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E456 #5856E4
analogous
#E49F56 #E2E456 #9BE456
triadic
#E2E456 #56E2E4 #E456E2
tetradic
#E2E456 #56E49F #5856E4 #E4569B
square
#E2E456 #56E49F #5856E4 #E4569B
split-complementary
#E2E456 #569BE4 #9F56E4
monochromatic
#A3A51A #D7DA23 #E2E456 #EBEC8B #F4F5C0

Accessibility & contrast

On white

1.36
#E2E456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.47
#E2E456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E456
15.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E456#FFFFFF#000000##000000
##E2E4561.001.3615.4715.47
#FFFFFF1.361.0021.0021.00
#00000015.4721.001.001.00
##00000015.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB44
Deuteranopia (green-blind)
#F7DF5F
Tritanopia (blue-blind)
#F1D7C7
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e2e456;
/* rgb */ color: rgb(226, 228, 86);
/* oklch */ color: oklch(89.1% 0.161 110.0);
Tailwind
colors: {
  custom: {
    50: '#eeec8c',
    500: '#e2e456',
    950: '#000000',
  },
}
SCSS
$custom: #e2e456;
$custom-light: #eeec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e456",
  "rgb": {
    "r": 226,
    "g": 228,
    "b": 86
  },
  "hsl": {
    "h": 60.845,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.89143,
    "c": 0.16109,
    "h": 110
  },
  "luminance": 0.72327
}

Semantic roles & 50–950 ramp

primary
#E2E456
secondary
#3837A7
accent
#11D514
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E456

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

Preview Lab → · Contrast checker → · Palette generator →

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