#E0E042#E0E042

#E0E042 is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.0% C 0.171 H 109.5°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#E0E042
RGBrgb(224, 224, 66)
HSLhsl(60, 72%, 57%)
HSVhsv(60, 71%, 88%)
CMYKcmyk(0%, 0%, 70.5%, 12.2%)
CIE-LABlab(86.78, -17.98, 72.77)
CIE-LCHlch(86.78, 74.96, 103.88°)
OKLaboklab(87.98% -0.0569 0.1611)
OKLCHoklch(87.98% 0.171 109.5)
XYZxyz(58.3816, 69.5537, 15.5031)
Luminance0.6955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0E042 #4242E0
analogous
#E09142 #E0E042 #91E042
triadic
#E0E042 #42E0E0 #E042E0
tetradic
#E0E042 #42E091 #4242E0 #E04291
square
#E0E042 #42E091 #4242E0 #E04291
split-complementary
#E0E042 #4291E0 #9142E0
monochromatic
#909018 #C5C520 #E0E042 #E9E977 #F1F1AB

Accessibility & contrast

On white

1.41
#E0E042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#E0E042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0E042
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0E042#FFFFFF#000000##000000
##E0E0421.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D725
Deuteranopia (green-blind)
#F4DC4E
Tritanopia (blue-blind)
#F0D2C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e0e042;
/* rgb */ color: rgb(224, 224, 66);
/* oklch */ color: oklch(88.0% 0.171 109.5);
Tailwind
colors: {
  custom: {
    50: '#ede981',
    500: '#e0e042',
    950: '#000000',
  },
}
SCSS
$custom: #e0e042;
$custom-light: #ede981;
$custom-dark: #000000;
JSON
{
  "hex": "#e0e042",
  "rgb": {
    "r": 224,
    "g": 224,
    "b": 66
  },
  "hsl": {
    "h": 60,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.87984,
    "c": 0.17083,
    "h": 109.5
  },
  "luminance": 0.69552
}

Semantic roles & 50–950 ramp

primary
#E0E042
secondary
#313195
accent
#39EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E0E042

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

Preview Lab → · Contrast checker → · Palette generator →

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