#E2E857#E2E857

#E2E857 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.0% C 0.165 H 111.5°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#E2E857
RGBrgb(226, 232, 87)
HSLhsl(62, 76%, 63%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(2.6%, 0%, 62.5%, 9%)
CIE-LABlab(89.19, -19.92, 67.40)
CIE-LCHlch(89.19, 70.28, 106.46°)
OKLaboklab(90% -0.0604 0.153)
OKLCHoklch(90% 0.165 111.5)
XYZxyz(61.9427, 74.5715, 20.1457)
Luminance0.7457 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E857 #5D57E8
analogous
#E8A657 #E2E857 #99E857
triadic
#E2E857 #57E2E8 #E857E2
tetradic
#E2E857 #57E8A6 #5D57E8 #E85799
square
#E2E857 #57E8A6 #5D57E8 #E85799
split-complementary
#E2E857 #5799E8 #A657E8
monochromatic
#A7AD18 #D9E121 #E2E857 #EBEF8D #F5F7C3

Accessibility & contrast

On white

1.32
#E2E857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#E2E857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E857
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E857#FFFFFF#000000##000000
##E2E8571.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DE44
Deuteranopia (green-blind)
#FAE260
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e857;
/* rgb */ color: rgb(226, 232, 87);
/* oklch */ color: oklch(90.0% 0.165 111.5);
Tailwind
colors: {
  custom: {
    50: '#eeef8d',
    500: '#e2e857',
    950: '#000000',
  },
}
SCSS
$custom: #e2e857;
$custom-light: #eeef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e857",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 87
  },
  "hsl": {
    "h": 62.483,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89996,
    "c": 0.1645,
    "h": 111.5
  },
  "luminance": 0.7457
}

Semantic roles & 50–950 ramp

primary
#E2E857
secondary
#3A35AE
accent
#0DD816
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2E857

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

Preview Lab → · Contrast checker → · Palette generator →

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