#E7DD56#E7DD56

#E7DD56 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.1% C 0.154 H 105.1°. Best body text is #000000 at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#E7DD56
RGBrgb(231, 221, 86)
HSLhsl(56, 75%, 62%)
HSVhsv(56, 63%, 91%)
CMYKcmyk(0%, 4.3%, 62.8%, 9.4%)
CIE-LABlab(86.69, -12.54, 65.28)
CIE-LCHlch(86.69, 66.47, 100.87°)
OKLaboklab(88.09% -0.0399 0.1483)
OKLCHoklch(88.09% 0.154 105.1)
XYZxyz(60.4934, 69.3758, 19.0066)
Luminance0.6937 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD56 #5660E7
analogous
#E79556 #E7DD56 #A9E756
triadic
#E7DD56 #56E7DD #DD56E7
tetradic
#E7DD56 #56E795 #5660E7 #E756A9
square
#E7DD56 #56E795 #5660E7 #E756A9
split-complementary
#E7DD56 #56A9E7 #9556E7
monochromatic
#AAA018 #DFD220 #E7DD56 #EFE88C #F6F3C1

Accessibility & contrast

On white

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

On black

14.87
#E7DD56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD56
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD56#FFFFFF#000000##000000
##E7DD561.001.4114.8714.87
#FFFFFF1.411.0021.0021.00
#00000014.8721.001.001.00
##00000014.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD645
Deuteranopia (green-blind)
#F3DC5E
Tritanopia (blue-blind)
#F7CFC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dd56;
/* rgb */ color: rgb(231, 221, 86);
/* oklch */ color: oklch(88.1% 0.154 105.1);
Tailwind
colors: {
  custom: {
    50: '#f2e78c',
    500: '#e7dd56',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd56;
$custom-light: #f2e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd56",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 86
  },
  "hsl": {
    "h": 55.862,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88094,
    "c": 0.15354,
    "h": 105.1
  },
  "luminance": 0.69374
}

Semantic roles & 50–950 ramp

primary
#E7DD56
secondary
#353EAC
accent
#1CD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DD56

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

Preview Lab → · Contrast checker → · Palette generator →

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