#E2EF5C#E2EF5C

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

Color values

HEX#E2EF5C
RGBrgb(226, 239, 92)
HSLhsl(65, 82%, 65%)
HSVhsv(65, 62%, 94%)
CMYKcmyk(5.4%, 0%, 61.5%, 6.3%)
CIE-LABlab(91.09, -22.96, 67.40)
CIE-LCHlch(91.09, 71.21, 108.81°)
OKLaboklab(91.53% -0.0685 0.1537)
OKLCHoklch(91.53% 0.168 114)
XYZxyz(64.1639, 78.6756, 21.9290)
Luminance0.7867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EF5C #695CEF
analogous
#EFB25C #E2EF5C #99EF5C
triadic
#E2EF5C #5CE2EF #EF5CE2
tetradic
#E2EF5C #5CEFB2 #695CEF #EF5C99
square
#E2EF5C #5CEFB2 #695CEF #EF5C99
split-complementary
#E2EF5C #5C99EF #B25CEF
monochromatic
#AFBE13 #D8EA24 #E2EF5C #ECF494 #F6FACB

Accessibility & contrast

On white

1.25
#E2EF5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2EF5C#FFFFFF#000000##000000
##E2EF5C1.001.2516.7316.73
#FFFFFF1.251.0021.0021.00
#00000016.7321.001.001.00
##00000016.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2ef5c;
/* rgb */ color: rgb(226, 239, 92);
/* oklch */ color: oklch(91.5% 0.168 114.0);
Tailwind
colors: {
  custom: {
    50: '#eef490',
    500: '#e2ef5c',
    950: '#000000',
  },
}
SCSS
$custom: #e2ef5c;
$custom-light: #eef490;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ef5c",
  "rgb": {
    "r": 226,
    "g": 239,
    "b": 92
  },
  "hsl": {
    "h": 65.306,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91525,
    "c": 0.16825,
    "h": 114
  },
  "luminance": 0.78674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2EF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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