#E3E942#E3E942

#E3E942 is a very light, vivid yellow. Relative luminance 0.750; OKLCH L 90.1% C 0.179 H 111.6°. Best body text is #000000 at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#E3E942
RGBrgb(227, 233, 66)
HSLhsl(62, 79%, 59%)
HSVhsv(62, 72%, 91%)
CMYKcmyk(2.6%, 0%, 71.7%, 8.6%)
CIE-LABlab(89.39, -21.12, 75.36)
CIE-LCHlch(89.39, 78.26, 105.65°)
OKLaboklab(90.13% -0.0658 0.1665)
OKLCHoklch(90.13% 0.179 111.6)
XYZxyz(61.8029, 75.0036, 16.3747)
Luminance0.7500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E3E942 #4842E9
analogous
#E99B42 #E3E942 #8FE942
triadic
#E3E942 #42E3E9 #E942E3
tetradic
#E3E942 #42E99B #4842E9 #E9428F
square
#E3E942 #42E99B #4842E9 #E9428F
split-complementary
#E3E942 #428FE9 #9B42E9
monochromatic
#999E12 #CED519 #E3E942 #EBEF79 #F3F6B0

Accessibility & contrast

On white

1.31
#E3E942 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.00
#E3E942 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E3E942
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E3E942#FFFFFF#000000##000000
##E3E9421.001.3116.0016.00
#FFFFFF1.311.0021.0021.00
#00000016.0021.001.001.00
##00000016.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBDE21
Deuteranopia (green-blind)
#FCE34F
Tritanopia (blue-blind)
#F3DBC9
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e3e942;
/* rgb */ color: rgb(227, 233, 66);
/* oklch */ color: oklch(90.1% 0.179 111.6);
Tailwind
colors: {
  custom: {
    50: '#f0ef82',
    500: '#e3e942',
    950: '#000000',
  },
}
SCSS
$custom: #e3e942;
$custom-light: #f0ef82;
$custom-dark: #000000;
JSON
{
  "hex": "#e3e942",
  "rgb": {
    "r": 227,
    "g": 233,
    "b": 66
  },
  "hsl": {
    "h": 62.156,
    "s": 79.147,
    "l": 58.627
  },
  "oklch": {
    "l": 0.90133,
    "c": 0.17899,
    "h": 111.6
  },
  "luminance": 0.75002
}

Semantic roles & 50–950 ramp

primary
#E3E942
secondary
#322EA1
accent
#32F639
background
#FFFFFB
surface
#FFFEF2
border
#D7D6CC
text
#17160B
muted
#85857E

Preview Lab

Preview with #E3E942

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

Preview Lab → · Contrast checker → · Palette generator →

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