#E2F056#E2F056

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

Color values

HEX#E2F056
RGBrgb(226, 240, 86)
HSLhsl(65, 84%, 64%)
HSVhsv(65, 64%, 94%)
CMYKcmyk(5.8%, 0%, 64.2%, 5.9%)
CIE-LABlab(91.31, -23.82, 70.01)
CIE-LCHlch(91.31, 73.95, 108.79°)
OKLaboklab(91.69% -0.0714 0.1584)
OKLCHoklch(91.69% 0.174 114.3)
XYZxyz(64.2055, 79.1620, 20.6998)
Luminance0.7916 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F056 #6456F0
analogous
#F0B156 #E2F056 #95F056
triadic
#E2F056 #56E2F0 #F056E2
tetradic
#E2F056 #56F0B1 #6456F0 #F05695
square
#E2F056 #56F0B1 #6456F0 #F05695
split-complementary
#E2F056 #5695F0 #B156F0
monochromatic
#ACBB11 #D8EB1E #E2F056 #ECF58E #F5FAC6

Accessibility & contrast

On white

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

On black

16.83
#E2F056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F056
16.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F056#FFFFFF#000000##000000
##E2F0561.001.2516.8316.83
#FFFFFF1.251.0021.0021.00
#00000016.8321.001.001.00
##00000016.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2f056;
/* rgb */ color: rgb(226, 240, 86);
/* oklch */ color: oklch(91.7% 0.174 114.3);
Tailwind
colors: {
  custom: {
    50: '#eef48d',
    500: '#e2f056',
    950: '#000000',
  },
}
SCSS
$custom: #e2f056;
$custom-light: #eef48d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f056",
  "rgb": {
    "r": 226,
    "g": 240,
    "b": 86
  },
  "hsl": {
    "h": 65.455,
    "s": 83.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91687,
    "c": 0.17374,
    "h": 114.3
  },
  "luminance": 0.79161
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2F056

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

Preview Lab → · Contrast checker → · Palette generator →

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