#E2E946#E2E946

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

Color values

HEX#E2E946
RGBrgb(226, 233, 70)
HSLhsl(63, 79%, 59%)
HSVhsv(63, 70%, 91%)
CMYKcmyk(3%, 0%, 70%, 8.6%)
CIE-LABlab(89.34, -21.34, 73.92)
CIE-LCHlch(89.34, 76.94, 106.10°)
OKLaboklab(90.08% -0.066 0.1641)
OKLCHoklch(90.08% 0.177 111.9)
XYZxyz(61.6104, 74.8903, 17.0029)
Luminance0.7489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E946 #4D46E9
analogous
#E99F46 #E2E946 #90E946
triadic
#E2E946 #46E2E9 #E946E2
tetradic
#E2E946 #46E99F #4D46E9 #E94690
square
#E2E946 #46E99F #4D46E9 #E94690
split-complementary
#E2E946 #4690E9 #9F46E9
monochromatic
#9BA113 #D0D81A #E2E946 #EBF07D #F3F6B3

Accessibility & contrast

On white

1.31
#E2E946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#E2E946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E946
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E946#FFFFFF#000000##000000
##E2E9461.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e946;
/* rgb */ color: rgb(226, 233, 70);
/* oklch */ color: oklch(90.1% 0.177 111.9);
Tailwind
colors: {
  custom: {
    50: '#efef84',
    500: '#e2e946',
    950: '#000000',
  },
}
SCSS
$custom: #e2e946;
$custom-light: #efef84;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e946",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 70
  },
  "hsl": {
    "h": 62.577,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.90079,
    "c": 0.17691,
    "h": 111.9
  },
  "luminance": 0.74889
}

Semantic roles & 50–950 ramp

primary
#E2E946
secondary
#342FA4
accent
#33F53B
background
#FFFFFC
surface
#FFFEF3
border
#D7D6CD
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E946

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

Preview Lab → · Contrast checker → · Palette generator →

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