#E0E942#E0E942

#E0E942 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 89.9% C 0.180 H 112.6°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#E0E942
RGBrgb(224, 233, 66)
HSLhsl(63, 79%, 59%)
HSVhsv(63, 72%, 91%)
CMYKcmyk(3.9%, 0%, 71.7%, 8.6%)
CIE-LABlab(89.17, -22.34, 75.06)
CIE-LCHlch(89.17, 78.32, 106.57°)
OKLaboklab(89.9% -0.0691 0.1659)
OKLCHoklch(89.9% 0.18 112.6)
XYZxyz(60.8647, 74.5199, 16.3308)
Luminance0.7452 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0E942 #4B42E9
analogous
#E99F42 #E0E942 #8CE942
triadic
#E0E942 #42E0E9 #E942E0
tetradic
#E0E942 #42E99F #4B42E9 #E9428C
square
#E0E942 #42E99F #4B42E9 #E9428C
split-complementary
#E0E942 #428CE9 #9F42E9
monochromatic
#979E12 #CBD519 #E0E942 #E9EF79 #F2F6B0

Accessibility & contrast

On white

1.32
#E0E942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.90
#E0E942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0E942
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0E942#FFFFFF#000000##000000
##E0E9421.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE21
Deuteranopia (green-blind)
#FBE24F
Tritanopia (blue-blind)
#EFDBC9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e0e942;
/* rgb */ color: rgb(224, 233, 66);
/* oklch */ color: oklch(89.9% 0.180 112.6);
Tailwind
colors: {
  custom: {
    50: '#edef82',
    500: '#e0e942',
    950: '#000000',
  },
}
SCSS
$custom: #e0e942;
$custom-light: #edef82;
$custom-dark: #000000;
JSON
{
  "hex": "#e0e942",
  "rgb": {
    "r": 224,
    "g": 233,
    "b": 66
  },
  "hsl": {
    "h": 63.234,
    "s": 79.147,
    "l": 58.627
  },
  "oklch": {
    "l": 0.89895,
    "c": 0.17973,
    "h": 112.6
  },
  "luminance": 0.74518
}

Semantic roles & 50–950 ramp

primary
#E0E942
secondary
#342EA1
accent
#32F63D
background
#FFFFFB
surface
#FEFEF2
border
#D6D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #E0E942

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

Preview Lab → · Contrast checker → · Palette generator →

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