#E2DB54#E2DB54

#E2DB54 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.154 H 106.3°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E2DB54
RGBrgb(226, 219, 84)
HSLhsl(57, 71%, 61%)
HSVhsv(57, 63%, 89%)
CMYKcmyk(0%, 3.1%, 62.8%, 11.4%)
CIE-LABlab(85.74, -13.72, 64.97)
CIE-LCHlch(85.74, 66.40, 101.93°)
OKLaboklab(87.24% -0.0432 0.1474)
OKLCHoklch(87.24% 0.154 106.3)
XYZxyz(58.2978, 67.4738, 18.3386)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB54 #545BE2
analogous
#E29454 #E2DB54 #A2E254
triadic
#E2DB54 #54E2DB #DB54E2
tetradic
#E2DB54 #54E294 #545BE2 #E254A2
square
#E2DB54 #54E294 #545BE2 #E254A2
split-complementary
#E2DB54 #54A2E2 #9454E2
monochromatic
#A09A1B #D5CC24 #E2DB54 #EBE688 #F4F1BD

Accessibility & contrast

On white

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

On black

14.49
#E2DB54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB54
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB54#FFFFFF#000000##000000
##E2DB541.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD343
Deuteranopia (green-blind)
#F0D95C
Tritanopia (blue-blind)
#F2CDBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db54;
/* rgb */ color: rgb(226, 219, 84);
/* oklch */ color: oklch(87.2% 0.154 106.3);
Tailwind
colors: {
  custom: {
    50: '#eee58a',
    500: '#e2db54',
    950: '#000000',
  },
}
SCSS
$custom: #e2db54;
$custom-light: #eee58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db54",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 84
  },
  "hsl": {
    "h": 57.042,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87236,
    "c": 0.15364,
    "h": 106.3
  },
  "luminance": 0.67472
}

Semantic roles & 50–950 ramp

primary
#E2DB54
secondary
#373CA3
accent
#1CD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB54

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

Preview Lab → · Contrast checker → · Palette generator →

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