#E2EB42#E2EB42

#E2EB42 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.5% C 0.181 H 112.6°. Best body text is #000000 at 16.20:1 contrast (WCAG AA passes).

Color values

HEX#E2EB42
RGBrgb(226, 235, 66)
HSLhsl(63, 81%, 59%)
HSVhsv(63, 72%, 92%)
CMYKcmyk(3.8%, 0%, 71.9%, 7.8%)
CIE-LABlab(89.85, -22.48, 75.77)
CIE-LCHlch(89.85, 79.03, 106.53°)
OKLaboklab(90.48% -0.0696 0.1674)
OKLCHoklch(90.48% 0.181 112.6)
XYZxyz(62.0577, 75.9802, 16.5498)
Luminance0.7598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EB42 #4B42EB
analogous
#EBA042 #E2EB42 #8EEB42
triadic
#E2EB42 #42E2EB #EB42E2
tetradic
#E2EB42 #42EBA0 #4B42EB #EB428E
square
#E2EB42 #42EBA0 #4B42EB #EB428E
split-complementary
#E2EB42 #428EEB #A042EB
monochromatic
#9AA211 #CFD917 #E2EB42 #EAF179 #F3F7B1

Accessibility & contrast

On white

1.30
#E2EB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.20
#E2EB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EB42
16.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EB42#FFFFFF#000000##000000
##E2EB421.001.3016.2016.20
#FFFFFF1.301.0021.0021.00
#00000016.2021.001.001.00
##00000016.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2eb42;
/* rgb */ color: rgb(226, 235, 66);
/* oklch */ color: oklch(90.5% 0.181 112.6);
Tailwind
colors: {
  custom: {
    50: '#eff182',
    500: '#e2eb42',
    950: '#000000',
  },
}
SCSS
$custom: #e2eb42;
$custom-light: #eff182;
$custom-dark: #000000;
JSON
{
  "hex": "#e2eb42",
  "rgb": {
    "r": 226,
    "g": 235,
    "b": 66
  },
  "hsl": {
    "h": 63.195,
    "s": 80.861,
    "l": 59.02
  },
  "oklch": {
    "l": 0.90479,
    "c": 0.18124,
    "h": 112.6
  },
  "luminance": 0.75979
}

Semantic roles & 50–950 ramp

primary
#E2EB42
secondary
#342DA4
accent
#31F73B
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #E2EB42

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

Preview Lab → · Contrast checker → · Palette generator →

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