#E2F057#E2F057

#E2F057 is a very light, vivid yellow. Relative luminance 0.792; OKLCH L 91.7% C 0.173 H 114.3°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#E2F057
RGBrgb(226, 240, 87)
HSLhsl(65, 84%, 64%)
HSVhsv(65, 64%, 94%)
CMYKcmyk(5.8%, 0%, 63.7%, 5.9%)
CIE-LABlab(91.31, -23.76, 69.63)
CIE-LCHlch(91.31, 73.57, 108.84°)
OKLaboklab(91.7% -0.0712 0.1577)
OKLCHoklch(91.7% 0.173 114.3)
XYZxyz(64.2460, 79.1782, 20.9135)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F057 #6557F0
analogous
#F0B257 #E2F057 #96F057
triadic
#E2F057 #57E2F0 #F057E2
tetradic
#E2F057 #57F0B2 #6557F0 #F05796
square
#E2F057 #57F0B2 #6557F0 #F05796
split-complementary
#E2F057 #5796F0 #B257F0
monochromatic
#ACBC11 #D8EB1F #E2F057 #ECF58F #F5FAC7

Accessibility & contrast

On white

1.25
#E2F057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#E2F057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F057
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F057#FFFFFF#000000##000000
##E2F0571.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE543
Deuteranopia (green-blind)
#FFE861
Tritanopia (blue-blind)
#F0E3D1
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2f057;
/* rgb */ color: rgb(226, 240, 87);
/* oklch */ color: oklch(91.7% 0.173 114.3);
Tailwind
colors: {
  custom: {
    50: '#eef48d',
    500: '#e2f057',
    950: '#000000',
  },
}
SCSS
$custom: #e2f057;
$custom-light: #eef48d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f057",
  "rgb": {
    "r": 226,
    "g": 240,
    "b": 87
  },
  "hsl": {
    "h": 65.49,
    "s": 83.607,
    "l": 64.118
  },
  "oklch": {
    "l": 0.91695,
    "c": 0.17303,
    "h": 114.3
  },
  "luminance": 0.79177
}

Semantic roles & 50–950 ramp

primary
#E2F057
secondary
#3D31BA
accent
#05E019
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F057

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

Preview Lab → · Contrast checker → · Palette generator →

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