#E2DD48#E2DD48

#E2DD48 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.164 H 107.4°. Best body text is #000000 at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#E2DD48
RGBrgb(226, 221, 72)
HSLhsl(58, 73%, 58%)
HSVhsv(58, 68%, 89%)
CMYKcmyk(0%, 2.2%, 68.1%, 11.4%)
CIE-LABlab(86.18, -15.39, 70.10)
CIE-LCHlch(86.18, 71.76, 102.38°)
OKLaboklab(87.56% -0.0491 0.1564)
OKLCHoklch(87.56% 0.164 107.4)
XYZxyz(58.3923, 68.3515, 16.2469)
Luminance0.6835 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD48 #484DE2
analogous
#E29048 #E2DD48 #9AE248
triadic
#E2DD48 #48E2DD #DD48E2
tetradic
#E2DD48 #48E290 #484DE2 #E2489A
square
#E2DD48 #48E290 #484DE2 #E2489A
split-complementary
#E2DD48 #489AE2 #9048E2
monochromatic
#989318 #CCC720 #E2DD48 #EAE77D #F3F1B2

Accessibility & contrast

On white

1.43
#E2DD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.67
#E2DD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD48
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD48#FFFFFF#000000##000000
##E2DD481.001.4314.6714.67
#FFFFFF1.431.0021.0021.00
#00000014.6721.001.001.00
##00000014.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD531
Deuteranopia (green-blind)
#F2DA52
Tritanopia (blue-blind)
#F2CFBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd48;
/* rgb */ color: rgb(226, 221, 72);
/* oklch */ color: oklch(87.6% 0.164 107.4);
Tailwind
colors: {
  custom: {
    50: '#efe784',
    500: '#e2dd48',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd48;
$custom-light: #efe784;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd48",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 72
  },
  "hsl": {
    "h": 58.052,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87559,
    "c": 0.16393,
    "h": 107.4
  },
  "luminance": 0.6835
}

Semantic roles & 50–950 ramp

primary
#E2DD48
secondary
#33369C
accent
#3EEF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2DD48

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

Preview Lab → · Contrast checker → · Palette generator →

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