#E2E742#E2E742

#E2E742 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 89.6% C 0.177 H 111.2°. Best body text is #000000 at 15.74:1 contrast (WCAG AA passes).

Color values

HEX#E2E742
RGBrgb(226, 231, 66)
HSLhsl(62, 77%, 58%)
HSVhsv(62, 71%, 91%)
CMYKcmyk(2.2%, 0%, 71.4%, 9.4%)
CIE-LABlab(88.79, -20.56, 74.75)
CIE-LCHlch(88.79, 77.53, 105.38°)
OKLaboklab(89.63% -0.0642 0.1652)
OKLCHoklch(89.63% 0.177 111.2)
XYZxyz(60.9254, 73.7155, 16.1723)
Luminance0.7371 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E742 #4742E7
analogous
#E79942 #E2E742 #8FE742
triadic
#E2E742 #42E2E7 #E742E2
tetradic
#E2E742 #42E799 #4742E7 #E7428F
square
#E2E742 #42E799 #4742E7 #E7428F
split-complementary
#E2E742 #428FE7 #9942E7
monochromatic
#979B14 #CCD11B #E2E742 #EAEE78 #F3F5AF

Accessibility & contrast

On white

1.33
#E2E742 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.74
#E2E742 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E742
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E742#FFFFFF#000000##000000
##E2E7421.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9DD22
Deuteranopia (green-blind)
#FAE14F
Tritanopia (blue-blind)
#F2D9C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e742;
/* rgb */ color: rgb(226, 231, 66);
/* oklch */ color: oklch(89.6% 0.177 111.2);
Tailwind
colors: {
  custom: {
    50: '#efee81',
    500: '#e2e742',
    950: '#000000',
  },
}
SCSS
$custom: #e2e742;
$custom-light: #efee81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e742",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 66
  },
  "hsl": {
    "h": 61.818,
    "s": 77.465,
    "l": 58.235
  },
  "oklch": {
    "l": 0.89629,
    "c": 0.17725,
    "h": 111.2
  },
  "luminance": 0.73714
}

Semantic roles & 50–950 ramp

primary
#E2E742
secondary
#322F9E
accent
#34F43A
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2E742

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

Preview Lab → · Contrast checker → · Palette generator →

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