#E2E766#E2E766

#E2E766 is a very light, vivid yellow. Relative luminance 0.743; OKLCH L 89.9% C 0.151 H 111.1°. Best body text is #000000 at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#E2E766
RGBrgb(226, 231, 102)
HSLhsl(62, 73%, 65%)
HSVhsv(62, 56%, 91%)
CMYKcmyk(2.2%, 0%, 55.8%, 9.4%)
CIE-LABlab(89.06, -18.40, 60.96)
CIE-LCHlch(89.06, 63.67, 106.80°)
OKLaboklab(89.93% -0.0546 0.1412)
OKLCHoklch(89.93% 0.151 111.1)
XYZxyz(62.3398, 74.2813, 23.6216)
Luminance0.7428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E766 #6B66E7
analogous
#E7AC66 #E2E766 #A1E766
triadic
#E2E766 #66E2E7 #E766E2
tetradic
#E2E766 #66E7AC #6B66E7 #E766A1
square
#E2E766 #66E7AC #6B66E7 #E766A1
split-complementary
#E2E766 #66A1E7 #AC66E7
monochromatic
#B0B61D #D8DF31 #E2E766 #ECEF9B #F6F8D0

Accessibility & contrast

On white

1.32
#E2E766 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.86
#E2E766 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E766
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E766#FFFFFF#000000##000000
##E2E7661.001.3215.8615.86
#FFFFFF1.321.0021.0021.00
#00000015.8621.001.001.00
##00000015.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DE58
Deuteranopia (green-blind)
#F8E16D
Tritanopia (blue-blind)
#F0DACB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e766;
/* rgb */ color: rgb(226, 231, 102);
/* oklch */ color: oklch(89.9% 0.151 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeee96',
    500: '#e2e766',
    950: '#000000',
  },
}
SCSS
$custom: #e2e766;
$custom-light: #eeee96;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e766",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 102
  },
  "hsl": {
    "h": 62.326,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.89928,
    "c": 0.15142,
    "h": 111.1
  },
  "luminance": 0.7428
}

Semantic roles & 50–950 ramp

primary
#E2E766
secondary
#403BB6
accent
#11D518
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E2E766

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

Preview Lab → · Contrast checker → · Palette generator →

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