#E2E942#E2E942

#E2E942 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.179 H 111.9°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#E2E942
RGBrgb(226, 233, 66)
HSLhsl(63, 79%, 59%)
HSVhsv(63, 72%, 91%)
CMYKcmyk(3%, 0%, 71.7%, 8.6%)
CIE-LABlab(89.32, -21.52, 75.26)
CIE-LCHlch(89.32, 78.28, 105.96°)
OKLaboklab(90.05% -0.0669 0.1663)
OKLCHoklch(90.05% 0.179 111.9)
XYZxyz(61.4883, 74.8414, 16.3600)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E942 #4942E9
analogous
#E99C42 #E2E942 #8EE942
triadic
#E2E942 #42E2E9 #E942E2
tetradic
#E2E942 #42E99C #4942E9 #E9428E
square
#E2E942 #42E99C #4942E9 #E9428E
split-complementary
#E2E942 #428EE9 #9C42E9
monochromatic
#989E12 #CDD519 #E2E942 #EAEF79 #F3F6B0

Accessibility & contrast

On white

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

On black

15.97
#E2E942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E942
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E942#FFFFFF#000000##000000
##E2E9421.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDE21
Deuteranopia (green-blind)
#FBE24F
Tritanopia (blue-blind)
#F1DBC9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e942;
/* rgb */ color: rgb(226, 233, 66);
/* oklch */ color: oklch(90.1% 0.179 111.9);
Tailwind
colors: {
  custom: {
    50: '#efef82',
    500: '#e2e942',
    950: '#000000',
  },
}
SCSS
$custom: #e2e942;
$custom-light: #efef82;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e942",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 66
  },
  "hsl": {
    "h": 62.515,
    "s": 79.147,
    "l": 58.627
  },
  "oklch": {
    "l": 0.90053,
    "c": 0.17923,
    "h": 111.9
  },
  "luminance": 0.7484
}

Semantic roles & 50–950 ramp

primary
#E2E942
secondary
#332EA1
accent
#32F63A
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #E2E942

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

Preview Lab → · Contrast checker → · Palette generator →

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