#E2ED7B#E2ED7B

#E2ED7B is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.4% C 0.139 H 113.7°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#E2ED7B
RGBrgb(226, 237, 123)
HSLhsl(66, 76%, 71%)
HSVhsv(66, 48%, 93%)
CMYKcmyk(4.6%, 0%, 48.1%, 7.1%)
CIE-LABlab(90.86, -19.57, 53.54)
CIE-LCHlch(90.86, 57.00, 110.08°)
OKLaboklab(91.44% -0.0558 0.1272)
OKLCHoklch(91.44% 0.139 113.7)
XYZxyz(65.2244, 78.1682, 30.3871)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED7B #867BED
analogous
#EDBF7B #E2ED7B #A9ED7B
triadic
#E2ED7B #7BE2ED #ED7BE2
tetradic
#E2ED7B #7BEDBF #867BED #ED7BA9
square
#E2ED7B #7BEDBF #867BED #ED7BA9
split-complementary
#E2ED7B #7BA9ED #BF7BED
monochromatic
#C0D11D #D6E645 #E2ED7B #EEF4B1 #F9FBE4

Accessibility & contrast

On white

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

On black

16.63
#E2ED7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED7B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED7B#FFFFFF#000000##000000
##E2ED7B1.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ed7b;
/* rgb */ color: rgb(226, 237, 123);
/* oklch */ color: oklch(91.4% 0.139 113.7);
Tailwind
colors: {
  custom: {
    50: '#edf2a4',
    500: '#e2ed7b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed7b;
$custom-light: #edf2a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed7b",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 123
  },
  "hsl": {
    "h": 65.789,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.91437,
    "c": 0.13891,
    "h": 113.7
  },
  "luminance": 0.78167
}

Semantic roles & 50–950 ramp

primary
#E2ED7B
secondary
#5246C6
accent
#0DD821
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2ED7B

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

Preview Lab → · Contrast checker → · Palette generator →

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