#E2E142#E2E142

#E2E142 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.4% C 0.171 H 109.1°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#E2E142
RGBrgb(226, 225, 66)
HSLhsl(60, 73%, 57%)
HSVhsv(60, 71%, 89%)
CMYKcmyk(0%, 0.4%, 70.8%, 11.4%)
CIE-LABlab(87.20, -17.64, 73.23)
CIE-LCHlch(87.20, 75.32, 103.55°)
OKLaboklab(88.36% -0.056 0.162)
OKLCHoklch(88.36% 0.171 109.1)
XYZxyz(59.2748, 70.4143, 15.6221)
Luminance0.7041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E142 #4243E2
analogous
#E29142 #E2E142 #93E242
triadic
#E2E142 #42E2E1 #E142E2
tetradic
#E2E142 #42E291 #4243E2 #E24293
square
#E2E142 #42E291 #4243E2 #E24293
split-complementary
#E2E142 #4293E2 #9142E2
monochromatic
#939217 #C8C71F #E2E142 #EAE977 #F2F2AC

Accessibility & contrast

On white

1.39
#E2E142 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#E2E142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E142
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E142#FFFFFF#000000##000000
##E2E1421.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D825
Deuteranopia (green-blind)
#F5DD4E
Tritanopia (blue-blind)
#F2D3C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2e142;
/* rgb */ color: rgb(226, 225, 66);
/* oklch */ color: oklch(88.4% 0.171 109.1);
Tailwind
colors: {
  custom: {
    50: '#efea81',
    500: '#e2e142',
    950: '#000000',
  },
}
SCSS
$custom: #e2e142;
$custom-light: #efea81;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e142",
  "rgb": {
    "r": 226,
    "g": 225,
    "b": 66
  },
  "hsl": {
    "h": 59.625,
    "s": 73.394,
    "l": 57.255
  },
  "oklch": {
    "l": 0.88359,
    "c": 0.17141,
    "h": 109.1
  },
  "luminance": 0.70413
}

Semantic roles & 50–950 ramp

primary
#E2E142
secondary
#313198
accent
#39F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2E142

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

Preview Lab → · Contrast checker → · Palette generator →

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