#E7DE56#E7DE56

#E7DE56 is a very light, vivid yellow. Relative luminance 0.699; OKLCH L 88.3% C 0.154 H 105.5°. Best body text is #000000 at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#E7DE56
RGBrgb(231, 222, 86)
HSLhsl(56, 75%, 62%)
HSVhsv(56, 63%, 91%)
CMYKcmyk(0%, 3.9%, 62.8%, 9.4%)
CIE-LABlab(86.95, -13.04, 65.55)
CIE-LCHlch(86.95, 66.84, 101.25°)
OKLaboklab(88.3% -0.0413 0.1488)
OKLCHoklch(88.3% 0.154 105.5)
XYZxyz(60.7582, 69.9055, 19.0949)
Luminance0.6990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DE56 #565FE7
analogous
#E79656 #E7DE56 #A8E756
triadic
#E7DE56 #56E7DE #DE56E7
tetradic
#E7DE56 #56E796 #565FE7 #E756A8
square
#E7DE56 #56E796 #565FE7 #E756A8
split-complementary
#E7DE56 #56A8E7 #9656E7
monochromatic
#AAA118 #DFD420 #E7DE56 #EFE88C #F6F3C1

Accessibility & contrast

On white

1.40
#E7DE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.98
#E7DE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DE56
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DE56#FFFFFF#000000##000000
##E7DE561.001.4014.9814.98
#FFFFFF1.401.0021.0021.00
#00000014.9821.001.001.00
##00000014.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D645
Deuteranopia (green-blind)
#F4DD5E
Tritanopia (blue-blind)
#F7D0C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e7de56;
/* rgb */ color: rgb(231, 222, 86);
/* oklch */ color: oklch(88.3% 0.154 105.5);
Tailwind
colors: {
  custom: {
    50: '#f2e88c',
    500: '#e7de56',
    950: '#000000',
  },
}
SCSS
$custom: #e7de56;
$custom-light: #f2e88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7de56",
  "rgb": {
    "r": 231,
    "g": 222,
    "b": 86
  },
  "hsl": {
    "h": 56.276,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.88302,
    "c": 0.15447,
    "h": 105.5
  },
  "luminance": 0.69903
}

Semantic roles & 50–950 ramp

primary
#E7DE56
secondary
#353DAC
accent
#1BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7DE56

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

Preview Lab → · Contrast checker → · Palette generator →

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