#E2E856#E2E856

#E2E856 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#E2E856
RGBrgb(226, 232, 86)
HSLhsl(62, 76%, 62%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(2.6%, 0%, 62.9%, 9%)
CIE-LABlab(89.18, -19.98, 67.79)
CIE-LCHlch(89.18, 70.67, 106.42°)
OKLaboklab(89.99% -0.0607 0.1537)
OKLCHoklch(89.99% 0.165 111.5)
XYZxyz(61.9021, 74.5553, 19.9320)
Luminance0.7455 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E856 #5C56E8
analogous
#E8A556 #E2E856 #99E856
triadic
#E2E856 #56E2E8 #E856E2
tetradic
#E2E856 #56E8A5 #5C56E8 #E85699
square
#E2E856 #56E8A5 #5C56E8 #E85699
split-complementary
#E2E856 #5699E8 #A556E8
monochromatic
#A6AC17 #D9E120 #E2E856 #EBEF8C #F4F7C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E856#FFFFFF#000000##000000
##E2E8561.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)
#F9DE43
Deuteranopia (green-blind)
#FAE260
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e856;
/* rgb */ color: rgb(226, 232, 86);
/* oklch */ color: oklch(90.0% 0.165 111.5);
Tailwind
colors: {
  custom: {
    50: '#eeef8c',
    500: '#e2e856',
    950: '#000000',
  },
}
SCSS
$custom: #e2e856;
$custom-light: #eeef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e856",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 86
  },
  "hsl": {
    "h": 62.466,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89988,
    "c": 0.16523,
    "h": 111.5
  },
  "luminance": 0.74554
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E856

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

Preview Lab → · Contrast checker → · Palette generator →

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