#E2EF8B#E2EF8B

#E2EF8B is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 92.1% C 0.125 H 115.0°. Best body text is #000000 at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#E2EF8B
RGBrgb(226, 239, 139)
HSLhsl(68, 76%, 74%)
HSVhsv(68, 42%, 94%)
CMYKcmyk(5.4%, 0%, 41.8%, 6.3%)
CIE-LABlab(91.58, -18.96, 46.81)
CIE-LCHlch(91.58, 50.50, 112.05°)
OKLaboklab(92.08% -0.0528 0.1133)
OKLCHoklch(92.08% 0.125 115)
XYZxyz(66.8913, 79.7666, 36.2938)
Luminance0.7977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF8B #988BEF
analogous
#EFCA8B #E2EF8B #B0EF8B
triadic
#E2EF8B #8BE2EF #EF8BE2
tetradic
#E2EF8B #8BEFCA #988BEF #EF8BB0
square
#E2EF8B #8BEFCA #988BEF #EF8BB0
split-complementary
#E2EF8B #8BB0EF #CA8BEF
monochromatic
#C7E01F #D5E855 #E2EF8B #EFF6C1 #F8FBE4

Accessibility & contrast

On white

1.24
#E2EF8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.95
#E2EF8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EF8B
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EF8B#FFFFFF#000000##000000
##E2EF8B1.001.2416.9516.95
#FFFFFF1.241.0021.0021.00
#00000016.9521.001.001.00
##00000016.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE683
Deuteranopia (green-blind)
#FBE890
Tritanopia (blue-blind)
#ECE5D7
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2ef8b;
/* rgb */ color: rgb(226, 239, 139);
/* oklch */ color: oklch(92.1% 0.125 115.0);
Tailwind
colors: {
  custom: {
    50: '#ecf4ae',
    500: '#e2ef8b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef8b;
$custom-light: #ecf4ae;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef8b",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 139
  },
  "hsl": {
    "h": 67.8,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.92078,
    "c": 0.12501,
    "h": 115
  },
  "luminance": 0.79766
}

Semantic roles & 50–950 ramp

primary
#E2EF8B
secondary
#6354CA
accent
#0ED828
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2EF8B

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

Preview Lab → · Contrast checker → · Palette generator →

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