#E1DD52#E1DD52

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

Color values

HEX#E1DD52
RGBrgb(225, 221, 82)
HSLhsl(58, 70%, 60%)
HSVhsv(58, 64%, 88%)
CMYKcmyk(0%, 1.8%, 63.6%, 11.8%)
CIE-LABlab(86.17, -15.25, 66.21)
CIE-LCHlch(86.17, 67.94, 102.97°)
OKLaboklab(87.55% -0.0477 0.1498)
OKLCHoklch(87.55% 0.157 107.7)
XYZxyz(58.4328, 68.3315, 18.0923)
Luminance0.6833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DD52 #5256E1
analogous
#E19652 #E1DD52 #9DE152
triadic
#E1DD52 #52E1DD #DD52E1
tetradic
#E1DD52 #52E196 #5256E1 #E1529D
square
#E1DD52 #52E196 #5256E1 #E1529D
split-complementary
#E1DD52 #529DE1 #9652E1
monochromatic
#9D9A1B #D1CD24 #E1DD52 #EAE786 #F3F2BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E1DD52#FFFFFF#000000##000000
##E1DD521.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)
#EED540
Deuteranopia (green-blind)
#F1DA5B
Tritanopia (blue-blind)
#F0CFC0
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e1dd52;
/* rgb */ color: rgb(225, 221, 82);
/* oklch */ color: oklch(87.6% 0.157 107.7);
Tailwind
colors: {
  custom: {
    50: '#eee789',
    500: '#e1dd52',
    950: '#000000',
  },
}
SCSS
$custom: #e1dd52;
$custom-light: #eee789;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dd52",
  "rgb": {
    "r": 225,
    "g": 221,
    "b": 82
  },
  "hsl": {
    "h": 58.322,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.87554,
    "c": 0.15719,
    "h": 107.7
  },
  "luminance": 0.6833
}

Semantic roles & 50–950 ramp

primary
#E1DD52
secondary
#373AA1
accent
#18D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E1DD52

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

Preview Lab → · Contrast checker → · Palette generator →

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