#E2EF5B#E2EF5B

#E2EF5B is a very light, vivid yellow. Relative luminance 0.787; OKLCH L 91.5% C 0.169 H 114.0°. Best body text is #000000 at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#E2EF5B
RGBrgb(226, 239, 91)
HSLhsl(65, 82%, 65%)
HSVhsv(65, 62%, 94%)
CMYKcmyk(5.4%, 0%, 61.9%, 6.3%)
CIE-LABlab(91.08, -23.03, 67.80)
CIE-LCHlch(91.08, 71.60, 108.76°)
OKLaboklab(91.52% -0.0687 0.1544)
OKLCHoklch(91.52% 0.169 114)
XYZxyz(64.1204, 78.6582, 21.7003)
Luminance0.7866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF5B #685BEF
analogous
#EFB25B #E2EF5B #98EF5B
triadic
#E2EF5B #5BE2EF #EF5BE2
tetradic
#E2EF5B #5BEFB2 #685BEF #EF5B98
square
#E2EF5B #5BEFB2 #685BEF #EF5B98
split-complementary
#E2EF5B #5B98EF #B25BEF
monochromatic
#AEBD12 #D8EA23 #E2EF5B #ECF493 #F6FACB

Accessibility & contrast

On white

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

On black

16.73
#E2EF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EF5B
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EF5B#FFFFFF#000000##000000
##E2EF5B1.001.2616.7316.73
#FFFFFF1.261.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE448
Deuteranopia (green-blind)
#FFE765
Tritanopia (blue-blind)
#F0E2D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ef5b;
/* rgb */ color: rgb(226, 239, 91);
/* oklch */ color: oklch(91.5% 0.169 114.0);
Tailwind
colors: {
  custom: {
    50: '#eef490',
    500: '#e2ef5b',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef5b;
$custom-light: #eef490;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef5b",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 91
  },
  "hsl": {
    "h": 65.27,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91516,
    "c": 0.16901,
    "h": 114
  },
  "luminance": 0.78657
}

Semantic roles & 50–950 ramp

primary
#E2EF5B
secondary
#3F33BC
accent
#07DF1A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2EF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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