#E4EB42#E4EB42

#E4EB42 is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.6% C 0.181 H 111.9°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#E4EB42
RGBrgb(228, 235, 66)
HSLhsl(62, 81%, 59%)
HSVhsv(62, 72%, 92%)
CMYKcmyk(3%, 0%, 71.9%, 7.8%)
CIE-LABlab(90.00, -21.67, 75.96)
CIE-LCHlch(90.00, 78.99, 105.92°)
OKLaboklab(90.64% -0.0674 0.1677)
OKLCHoklch(90.64% 0.181 111.9)
XYZxyz(62.6887, 76.3055, 16.5794)
Luminance0.7630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EB42 #4942EB
analogous
#EB9E42 #E4EB42 #90EB42
triadic
#E4EB42 #42E4EB #EB42E4
tetradic
#E4EB42 #42EB9E #4942EB #EB4290
square
#E4EB42 #42EB9E #4942EB #EB4290
split-complementary
#E4EB42 #4290EB #9E42EB
monochromatic
#9CA211 #D1D917 #E4EB42 #ECF179 #F4F7B1

Accessibility & contrast

On white

1.29
#E4EB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#E4EB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4EB42
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4EB42#FFFFFF#000000##000000
##E4EB421.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE020
Deuteranopia (green-blind)
#FEE450
Tritanopia (blue-blind)
#F4DDCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4eb42;
/* rgb */ color: rgb(228, 235, 66);
/* oklch */ color: oklch(90.6% 0.181 111.9);
Tailwind
colors: {
  custom: {
    50: '#f0f182',
    500: '#e4eb42',
    950: '#000000',
  },
}
SCSS
$custom: #e4eb42;
$custom-light: #f0f182;
$custom-dark: #000000;
JSON
{
  "hex": "#e4eb42",
  "rgb": {
    "r": 228,
    "g": 235,
    "b": 66
  },
  "hsl": {
    "h": 62.485,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.90637,
    "c": 0.18075,
    "h": 111.9
  },
  "luminance": 0.76304
}

Semantic roles & 50–950 ramp

primary
#E4EB42
secondary
#322DA4
accent
#31F739
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #E4EB42

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

Preview Lab → · Contrast checker → · Palette generator →

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