#E7DD51#E7DD51

#E7DD51 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 88.1% C 0.157 H 105.2°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#E7DD51
RGBrgb(231, 221, 81)
HSLhsl(56, 76%, 61%)
HSVhsv(56, 65%, 91%)
CMYKcmyk(0%, 4.3%, 64.9%, 9.4%)
CIE-LABlab(86.65, -12.83, 67.25)
CIE-LCHlch(86.65, 68.47, 100.80°)
OKLaboklab(88.05% -0.0413 0.1517)
OKLCHoklch(88.05% 0.157 105.2)
XYZxyz(60.2989, 69.2981, 17.9826)
Luminance0.6930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DD51 #515BE7
analogous
#E79251 #E7DD51 #A6E751
triadic
#E7DD51 #51E7DD #DD51E7
tetradic
#E7DD51 #51E792 #515BE7 #E751A6
square
#E7DD51 #51E792 #515BE7 #E751A6
split-complementary
#E7DD51 #51A6E7 #9251E7
monochromatic
#A79D17 #DCD01E #E7DD51 #EEE887 #F6F2BD

Accessibility & contrast

On white

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

On black

14.86
#E7DD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DD51
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DD51#FFFFFF#000000##000000
##E7DD511.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD53E
Deuteranopia (green-blind)
#F3DC5A
Tritanopia (blue-blind)
#F7CFC0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dd51;
/* rgb */ color: rgb(231, 221, 81);
/* oklch */ color: oklch(88.1% 0.157 105.2);
Tailwind
colors: {
  custom: {
    50: '#f2e789',
    500: '#e7dd51',
    950: '#000000',
  },
}
SCSS
$custom: #e7dd51;
$custom-light: #f2e789;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dd51",
  "rgb": {
    "r": 231,
    "g": 221,
    "b": 81
  },
  "hsl": {
    "h": 56,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88051,
    "c": 0.15721,
    "h": 105.2
  },
  "luminance": 0.69296
}

Semantic roles & 50–950 ramp

primary
#E7DD51
secondary
#343BA8
accent
#1BD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DD51

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

Preview Lab → · Contrast checker → · Palette generator →

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