#E2ED7F#E2ED7F

#E2ED7F is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.5% C 0.135 H 113.8°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#E2ED7F
RGBrgb(226, 237, 127)
HSLhsl(66, 75%, 71%)
HSVhsv(66, 46%, 93%)
CMYKcmyk(4.6%, 0%, 46.4%, 7.1%)
CIE-LABlab(90.90, -19.19, 51.72)
CIE-LCHlch(90.90, 55.16, 110.36°)
OKLaboklab(91.49% -0.0544 0.1235)
OKLCHoklch(91.49% 0.135 113.8)
XYZxyz(65.4799, 78.2704, 31.7328)
Luminance0.7827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED7F #8A7FED
analogous
#EDC17F #E2ED7F #ABED7F
triadic
#E2ED7F #7FE2ED #ED7FE2
tetradic
#E2ED7F #7FEDC1 #8A7FED #ED7FAB
square
#E2ED7F #7FEDC1 #8A7FED #ED7FAB
split-complementary
#E2ED7F #7FABED #C17FED
monochromatic
#C2D41E #D6E549 #E2ED7F #EEF5B5 #F9FBE4

Accessibility & contrast

On white

1.26
#E2ED7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#E2ED7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED7F
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED7F#FFFFFF#000000##000000
##E2ED7F1.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE476
Deuteranopia (green-blind)
#FAE685
Tritanopia (blue-blind)
#EEE2D3
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ed7f;
/* rgb */ color: rgb(226, 237, 127);
/* oklch */ color: oklch(91.5% 0.135 113.8);
Tailwind
colors: {
  custom: {
    50: '#edf2a6',
    500: '#e2ed7f',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed7f;
$custom-light: #edf2a6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed7f",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 127
  },
  "hsl": {
    "h": 66,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91489,
    "c": 0.13495,
    "h": 113.8
  },
  "luminance": 0.78269
}

Semantic roles & 50–950 ramp

primary
#E2ED7F
secondary
#5649C7
accent
#0ED822
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16170F
muted
#858580

Preview Lab

Preview with #E2ED7F

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

Preview Lab → · Contrast checker → · Palette generator →

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