#E2DD54#E2DD54

#E2DD54 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.7% C 0.156 H 107.2°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E2DD54
RGBrgb(226, 221, 84)
HSLhsl(58, 71%, 61%)
HSVhsv(58, 63%, 89%)
CMYKcmyk(0%, 2.2%, 62.8%, 11.4%)
CIE-LABlab(86.27, -14.71, 65.52)
CIE-LCHlch(86.27, 67.16, 102.66°)
OKLaboklab(87.66% -0.046 0.1486)
OKLCHoklch(87.66% 0.156 107.2)
XYZxyz(58.8227, 68.5236, 18.5136)
Luminance0.6852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD54 #5459E2
analogous
#E29654 #E2DD54 #A0E254
triadic
#E2DD54 #54E2DD #DD54E2
tetradic
#E2DD54 #54E296 #5459E2 #E254A0
square
#E2DD54 #54E296 #5459E2 #E254A0
split-complementary
#E2DD54 #54A0E2 #9654E2
monochromatic
#A09C1B #D5CF24 #E2DD54 #EBE788 #F4F2BD

Accessibility & contrast

On white

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

On black

14.70
#E2DD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD54
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD54#FFFFFF#000000##000000
##E2DD541.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED543
Deuteranopia (green-blind)
#F1DA5C
Tritanopia (blue-blind)
#F1CFC1
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd54;
/* rgb */ color: rgb(226, 221, 84);
/* oklch */ color: oklch(87.7% 0.156 107.2);
Tailwind
colors: {
  custom: {
    50: '#eee78a',
    500: '#e2dd54',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd54;
$custom-light: #eee78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd54",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 84
  },
  "hsl": {
    "h": 57.887,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.87655,
    "c": 0.15557,
    "h": 107.2
  },
  "luminance": 0.68522
}

Semantic roles & 50–950 ramp

primary
#E2DD54
secondary
#373BA3
accent
#19D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DD54

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

Preview Lab → · Contrast checker → · Palette generator →

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