#E2DC46#E2DC46

#E2DC46 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.3% C 0.164 H 107.1°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).

Color values

HEX#E2DC46
RGBrgb(226, 220, 70)
HSLhsl(58, 73%, 58%)
HSVhsv(58, 69%, 89%)
CMYKcmyk(0%, 2.7%, 69%, 11.4%)
CIE-LABlab(85.91, -14.99, 70.55)
CIE-LCHlch(85.91, 72.13, 102.00°)
OKLaboklab(87.34% -0.0482 0.157)
OKLCHoklch(87.34% 0.164 107.1)
XYZxyz(58.0649, 67.7993, 15.8211)
Luminance0.6780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC46 #464CE2
analogous
#E28E46 #E2DC46 #9AE246
triadic
#E2DC46 #46E2DC #DC46E2
tetradic
#E2DC46 #46E28E #464CE2 #E2469A
square
#E2DC46 #46E28E #464CE2 #E2469A
split-complementary
#E2DC46 #469AE2 #8E46E2
monochromatic
#969118 #CBC420 #E2DC46 #EAE67B #F3F0B0

Accessibility & contrast

On white

1.44
#E2DC46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.56
#E2DC46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC46
14.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC46#FFFFFF#000000##000000
##E2DC461.001.4414.5614.56
#FFFFFF1.441.0021.0021.00
#00000014.5621.001.001.00
##00000014.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED42E
Deuteranopia (green-blind)
#F1D950
Tritanopia (blue-blind)
#F2CEBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc46;
/* rgb */ color: rgb(226, 220, 70);
/* oklch */ color: oklch(87.3% 0.164 107.1);
Tailwind
colors: {
  custom: {
    50: '#efe682',
    500: '#e2dc46',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc46;
$custom-light: #efe682;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc46",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 70
  },
  "hsl": {
    "h": 57.692,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.87335,
    "c": 0.16427,
    "h": 107.1
  },
  "luminance": 0.67797
}

Semantic roles & 50–950 ramp

primary
#E2DC46
secondary
#32369A
accent
#3FF038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2DC46

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

Preview Lab → · Contrast checker → · Palette generator →

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