#E2EB7F#E2EB7F

#E2EB7F is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.1% C 0.133 H 112.9°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#E2EB7F
RGBrgb(226, 235, 127)
HSLhsl(65, 73%, 71%)
HSVhsv(65, 46%, 92%)
CMYKcmyk(3.8%, 0%, 46%, 7.8%)
CIE-LABlab(90.38, -18.22, 51.07)
CIE-LCHlch(90.38, 54.23, 109.63°)
OKLaboklab(91.07% -0.0516 0.1221)
OKLCHoklch(91.07% 0.133 112.9)
XYZxyz(64.9041, 77.1188, 31.5409)
Luminance0.7712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EB7F #887FEB
analogous
#EBBE7F #E2EB7F #ACEB7F
triadic
#E2EB7F #7FE2EB #EB7FE2
tetradic
#E2EB7F #7FEBBE #887FEB #EB7FAC
square
#E2EB7F #7FEBBE #887FEB #EB7FAC
split-complementary
#E2EB7F #7FACEB #BE7FEB
monochromatic
#C1CF20 #D6E34A #E2EB7F #EEF3B4 #F9FBE5

Accessibility & contrast

On white

1.28
#E2EB7F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#E2EB7F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EB7F
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EB7F#FFFFFF#000000##000000
##E2EB7F1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9E276
Deuteranopia (green-blind)
#F9E584
Tritanopia (blue-blind)
#EEE0D2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2eb7f;
/* rgb */ color: rgb(226, 235, 127);
/* oklch */ color: oklch(91.1% 0.133 112.9);
Tailwind
colors: {
  custom: {
    50: '#edf1a6',
    500: '#e2eb7f',
    950: '#000000',
  },
}
SCSS
$custom: #e2eb7f;
$custom-light: #edf1a6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2eb7f",
  "rgb": {
    "r": 226,
    "g": 235,
    "b": 127
  },
  "hsl": {
    "h": 65,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.91068,
    "c": 0.13255,
    "h": 112.9
  },
  "luminance": 0.77118
}

Semantic roles & 50–950 ramp

primary
#E2EB7F
secondary
#544AC4
accent
#10D521
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#16160F
muted
#858580

Preview Lab

Preview with #E2EB7F

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

Preview Lab → · Contrast checker → · Palette generator →

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