#E2E855#E2E855

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

Color values

HEX#E2E855
RGBrgb(226, 232, 85)
HSLhsl(62, 76%, 62%)
HSVhsv(62, 63%, 91%)
CMYKcmyk(2.6%, 0%, 63.4%, 9%)
CIE-LABlab(89.18, -20.04, 68.18)
CIE-LCHlch(89.18, 71.06, 106.38°)
OKLaboklab(89.98% -0.0609 0.1544)
OKLCHoklch(89.98% 0.166 111.5)
XYZxyz(61.8621, 74.5393, 19.7213)
Luminance0.7454 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E855 #5B55E8
analogous
#E8A555 #E2E855 #99E855
triadic
#E2E855 #55E2E8 #E855E2
tetradic
#E2E855 #55E8A5 #5B55E8 #E85599
square
#E2E855 #55E8A5 #5B55E8 #E85599
split-complementary
#E2E855 #5599E8 #A555E8
monochromatic
#A5AB17 #D9E11F #E2E855 #EBEF8B #F4F7C1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E855#FFFFFF#000000##000000
##E2E8551.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)
#F9DE42
Deuteranopia (green-blind)
#FAE25F
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e855;
/* rgb */ color: rgb(226, 232, 85);
/* oklch */ color: oklch(90.0% 0.166 111.5);
Tailwind
colors: {
  custom: {
    50: '#eeef8c',
    500: '#e2e855',
    950: '#000000',
  },
}
SCSS
$custom: #e2e855;
$custom-light: #eeef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e855",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 85
  },
  "hsl": {
    "h": 62.449,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89979,
    "c": 0.16596,
    "h": 111.5
  },
  "luminance": 0.74538
}

Semantic roles & 50–950 ramp

primary
#E2E855
secondary
#3935AD
accent
#0DD815
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E855

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

Preview Lab → · Contrast checker → · Palette generator →

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