#E7DD57#E7DD57

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

Color values

HEX#E7DD57
RGBrgb(231, 221, 87)
HSLhsl(56, 75%, 62%)
HSVhsv(56, 62%, 91%)
CMYKcmyk(0%, 4.3%, 62.3%, 9.4%)
CIE-LABlab(86.70, -12.48, 64.87)
CIE-LCHlch(86.70, 66.06, 100.89°)
OKLaboklab(88.1% -0.0396 0.1475)
OKLCHoklch(88.1% 0.153 105)
XYZxyz(60.5339, 69.3921, 19.2203)
Luminance0.6939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD57 #5761E7
analogous
#E79557 #E7DD57 #A9E757
triadic
#E7DD57 #57E7DD #DD57E7
tetradic
#E7DD57 #57E795 #5761E7 #E757A9
square
#E7DD57 #57E795 #5761E7 #E757A9
split-complementary
#E7DD57 #57A9E7 #9557E7
monochromatic
#ABA118 #DFD221 #E7DD57 #EFE88D #F6F3C2

Accessibility & contrast

On white

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

On black

14.88
#E7DD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD57
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD57#FFFFFF#000000##000000
##E7DD571.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7dd57;
/* rgb */ color: rgb(231, 221, 87);
/* oklch */ color: oklch(88.1% 0.153 105.0);
Tailwind
colors: {
  custom: {
    50: '#f2e78c',
    500: '#e7dd57',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd57;
$custom-light: #f2e78c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd57",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 87
  },
  "hsl": {
    "h": 55.833,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.88103,
    "c": 0.15277,
    "h": 105
  },
  "luminance": 0.6939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7DD57

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

Preview Lab → · Contrast checker → · Palette generator →

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