#E2E255#E2E255

#E2E255 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.7% C 0.160 H 109.3°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#E2E255
RGBrgb(226, 226, 85)
HSLhsl(60, 71%, 61%)
HSVhsv(60, 62%, 89%)
CMYKcmyk(0%, 0%, 62.4%, 11.4%)
CIE-LABlab(87.59, -17.12, 66.52)
CIE-LCHlch(87.59, 68.68, 104.43°)
OKLaboklab(88.71% -0.0527 0.1509)
OKLCHoklch(88.71% 0.16 109.3)
XYZxyz(60.2020, 71.2190, 19.1680)
Luminance0.7122 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E255 #5555E2
analogous
#E29B55 #E2E255 #9BE255
triadic
#E2E255 #55E2E2 #E255E2
tetradic
#E2E255 #55E29B #5555E2 #E2559B
square
#E2E255 #55E29B #5555E2 #E2559B
split-complementary
#E2E255 #559BE2 #9B55E2
monochromatic
#A1A11B #D5D524 #E2E255 #EBEB89 #F4F4BE

Accessibility & contrast

On white

1.38
#E2E255 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#E2E255 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E255
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E255#FFFFFF#000000##000000
##E2E2551.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D943
Deuteranopia (green-blind)
#F5DE5E
Tritanopia (blue-blind)
#F1D4C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e255;
/* rgb */ color: rgb(226, 226, 85);
/* oklch */ color: oklch(88.7% 0.160 109.3);
Tailwind
colors: {
  custom: {
    50: '#eeea8b',
    500: '#e2e255',
    950: '#000000',
  },
}
SCSS
$custom: #e2e255;
$custom-light: #eeea8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e255",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 85
  },
  "hsl": {
    "h": 60,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88713,
    "c": 0.15979,
    "h": 109.3
  },
  "luminance": 0.71217
}

Semantic roles & 50–950 ramp

primary
#E2E255
secondary
#3737A4
accent
#13D313
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E255

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

Preview Lab → · Contrast checker → · Palette generator →

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