#E2DF48#E2DF48

#E2DF48 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.0% C 0.166 H 108.2°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#E2DF48
RGBrgb(226, 223, 72)
HSLhsl(59, 73%, 58%)
HSVhsv(59, 68%, 89%)
CMYKcmyk(0%, 1.3%, 68.1%, 11.4%)
CIE-LABlab(86.71, -16.37, 70.62)
CIE-LCHlch(86.71, 72.49, 103.05°)
OKLaboklab(87.98% -0.0519 0.1575)
OKLCHoklch(87.98% 0.166 108.2)
XYZxyz(58.9235, 69.4138, 16.4240)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF48 #484BE2
analogous
#E29248 #E2DF48 #98E248
triadic
#E2DF48 #48E2DF #DF48E2
tetradic
#E2DF48 #48E292 #484BE2 #E24898
square
#E2DF48 #48E292 #484BE2 #E24898
split-complementary
#E2DF48 #4898E2 #9248E2
monochromatic
#989518 #CCC920 #E2DF48 #EAE87D #F3F1B2

Accessibility & contrast

On white

1.41
#E2DF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.88
#E2DF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF48
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF48#FFFFFF#000000##000000
##E2DF481.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D630
Deuteranopia (green-blind)
#F3DC53
Tritanopia (blue-blind)
#F2D1C1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df48;
/* rgb */ color: rgb(226, 223, 72);
/* oklch */ color: oklch(88.0% 0.166 108.2);
Tailwind
colors: {
  custom: {
    50: '#efe884',
    500: '#e2df48',
    950: '#000000',
  },
}
SCSS
$custom: #e2df48;
$custom-light: #efe884;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df48",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 72
  },
  "hsl": {
    "h": 58.831,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.87979,
    "c": 0.16584,
    "h": 108.2
  },
  "luminance": 0.69412
}

Semantic roles & 50–950 ramp

primary
#E2DF48
secondary
#33359C
accent
#3CEF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17160B
muted
#85847E

Preview Lab

Preview with #E2DF48

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

Preview Lab → · Contrast checker → · Palette generator →

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