#E2DC47#E2DC47

#E2DC47 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#E2DC47
RGBrgb(226, 220, 71)
HSLhsl(58, 73%, 58%)
HSVhsv(58, 69%, 89%)
CMYKcmyk(0%, 2.7%, 68.6%, 11.4%)
CIE-LABlab(85.91, -14.94, 70.20)
CIE-LCHlch(85.91, 71.77, 102.02°)
OKLaboklab(87.34% -0.048 0.1564)
OKLCHoklch(87.34% 0.164 107.1)
XYZxyz(58.0967, 67.8120, 15.9888)
Luminance0.6781 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC47 #474DE2
analogous
#E28E47 #E2DC47 #9BE247
triadic
#E2DC47 #47E2DC #DC47E2
tetradic
#E2DC47 #47E28E #474DE2 #E2479B
square
#E2DC47 #47E28E #474DE2 #E2479B
split-complementary
#E2DC47 #479BE2 #8E47E2
monochromatic
#979218 #CCC520 #E2DC47 #EAE67C #F3F0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DC47#FFFFFF#000000##000000
##E2DC471.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)
#EED42F
Deuteranopia (green-blind)
#F1D951
Tritanopia (blue-blind)
#F2CEBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc47;
/* rgb */ color: rgb(226, 220, 71);
/* oklch */ color: oklch(87.3% 0.164 107.1);
Tailwind
colors: {
  custom: {
    50: '#efe683',
    500: '#e2dc47',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc47;
$custom-light: #efe683;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc47",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 71
  },
  "hsl": {
    "h": 57.677,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.87342,
    "c": 0.16364,
    "h": 107.1
  },
  "luminance": 0.6781
}

Semantic roles & 50–950 ramp

primary
#E2DC47
secondary
#32369B
accent
#3FEF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2DC47

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

Preview Lab → · Contrast checker → · Palette generator →

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