#E2DC45#E2DC45

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

Color values

HEX#E2DC45
RGBrgb(226, 220, 69)
HSLhsl(58, 73%, 58%)
HSVhsv(58, 69%, 89%)
CMYKcmyk(0%, 2.7%, 69.5%, 11.4%)
CIE-LABlab(85.90, -15.04, 70.91)
CIE-LCHlch(85.90, 72.49, 101.98°)
OKLaboklab(87.33% -0.0485 0.1576)
OKLCHoklch(87.33% 0.165 107.1)
XYZxyz(58.0336, 67.7868, 15.6563)
Luminance0.6778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC45 #454BE2
analogous
#E28D45 #E2DC45 #99E245
triadic
#E2DC45 #45E2DC #DC45E2
tetradic
#E2DC45 #45E28D #454BE2 #E24599
square
#E2DC45 #45E28D #454BE2 #E24599
split-complementary
#E2DC45 #4599E2 #8D45E2
monochromatic
#959117 #CAC420 #E2DC45 #EAE67A #F3F0AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DC45#FFFFFF#000000##000000
##E2DC451.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)
#EED42C
Deuteranopia (green-blind)
#F1D950
Tritanopia (blue-blind)
#F2CEBE
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc45;
/* rgb */ color: rgb(226, 220, 69);
/* oklch */ color: oklch(87.3% 0.165 107.1);
Tailwind
colors: {
  custom: {
    50: '#efe682',
    500: '#e2dc45',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc45;
$custom-light: #efe682;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc45",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 69
  },
  "hsl": {
    "h": 57.707,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87328,
    "c": 0.16489,
    "h": 107.1
  },
  "luminance": 0.67785
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2DC45

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

Preview Lab → · Contrast checker → · Palette generator →

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