#E2DB45#E2DB45

#E2DB45 is a very light, vivid yellow. Relative luminance 0.673; OKLCH L 87.1% C 0.164 H 106.7°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E2DB45
RGBrgb(226, 219, 69)
HSLhsl(57, 73%, 58%)
HSVhsv(57, 69%, 89%)
CMYKcmyk(0%, 3.1%, 69.5%, 11.4%)
CIE-LABlab(85.64, -14.55, 70.65)
CIE-LCHlch(85.64, 72.13, 101.64°)
OKLaboklab(87.12% -0.0471 0.1571)
OKLCHoklch(87.12% 0.164 106.7)
XYZxyz(57.7720, 67.2635, 15.5690)
Luminance0.6726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB45 #454CE2
analogous
#E28D45 #E2DB45 #9AE245
triadic
#E2DB45 #45E2DB #DB45E2
tetradic
#E2DB45 #45E28D #454CE2 #E2459A
square
#E2DB45 #45E28D #454CE2 #E2459A
split-complementary
#E2DB45 #459AE2 #8D45E2
monochromatic
#959017 #CAC320 #E2DB45 #EAE57A #F3EFAF

Accessibility & contrast

On white

1.45
#E2DB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E2DB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB45
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB45#FFFFFF#000000##000000
##E2DB451.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD32C
Deuteranopia (green-blind)
#F0D94F
Tritanopia (blue-blind)
#F2CDBD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db45;
/* rgb */ color: rgb(226, 219, 69);
/* oklch */ color: oklch(87.1% 0.164 106.7);
Tailwind
colors: {
  custom: {
    50: '#efe582',
    500: '#e2db45',
    950: '#000000',
  },
}
SCSS
$custom: #e2db45;
$custom-light: #efe582;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db45",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 69
  },
  "hsl": {
    "h": 57.325,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.87118,
    "c": 0.16396,
    "h": 106.7
  },
  "luminance": 0.67261
}

Semantic roles & 50–950 ramp

primary
#E2DB45
secondary
#32369A
accent
#40F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2DB45

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

Preview Lab → · Contrast checker → · Palette generator →

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