#E2EA7B#E2EA7B

#E2EA7B is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.8% C 0.135 H 112.4°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#E2EA7B
RGBrgb(226, 234, 123)
HSLhsl(64, 73%, 70%)
HSVhsv(64, 47%, 92%)
CMYKcmyk(3.4%, 0%, 47.4%, 8.2%)
CIE-LABlab(90.07, -18.11, 52.59)
CIE-LCHlch(90.07, 55.62, 109.00°)
OKLaboklab(90.81% -0.0517 0.1251)
OKLCHoklch(90.81% 0.135 112.4)
XYZxyz(64.3631, 76.4456, 30.0999)
Luminance0.7644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EA7B #837BEA
analogous
#EABA7B #E2EA7B #ABEA7B
triadic
#E2EA7B #7BE2EA #EA7BE2
tetradic
#E2EA7B #7BEABA #837BEA #EA7BAB
square
#E2EA7B #7BEABA #837BEA #EA7BAB
split-complementary
#E2EA7B #7BABEA #BA7BEA
monochromatic
#BECA20 #D6E246 #E2EA7B #EEF2B0 #F9FBE5

Accessibility & contrast

On white

1.29
#E2EA7B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#E2EA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EA7B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EA7B#FFFFFF#000000##000000
##E2EA7B1.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E171
Deuteranopia (green-blind)
#F8E481
Tritanopia (blue-blind)
#EEDFD0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e2ea7b;
/* rgb */ color: rgb(226, 234, 123);
/* oklch */ color: oklch(90.8% 0.135 112.4);
Tailwind
colors: {
  custom: {
    50: '#edf0a3',
    500: '#e2ea7b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ea7b;
$custom-light: #edf0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ea7b",
  "rgb": {
    "r": 226,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 64.324,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.90805,
    "c": 0.13536,
    "h": 112.4
  },
  "luminance": 0.76444
}

Semantic roles & 50–950 ramp

primary
#E2EA7B
secondary
#4F46C3
accent
#11D51F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17160F
muted
#858580

Preview Lab

Preview with #E2EA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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