#E7ED56#E7ED56

#E7ED56 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.4% C 0.169 H 111.5°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#E7ED56
RGBrgb(231, 237, 86)
HSLhsl(62, 81%, 63%)
HSVhsv(62, 64%, 93%)
CMYKcmyk(2.5%, 0%, 63.7%, 7.1%)
CIE-LABlab(90.89, -20.37, 69.69)
CIE-LCHlch(90.89, 72.61, 106.30°)
OKLaboklab(91.44% -0.0621 0.1576)
OKLCHoklch(91.44% 0.169 111.5)
XYZxyz(64.9208, 78.2307, 20.4825)
Luminance0.7823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ED56 #5C56ED
analogous
#EDA756 #E7ED56 #9BED56
triadic
#E7ED56 #56E7ED #ED56E7
tetradic
#E7ED56 #56EDA7 #5C56ED #ED569B
square
#E7ED56 #56EDA7 #5C56ED #ED569B
split-complementary
#E7ED56 #569BED #A756ED
monochromatic
#AFB513 #DFE71F #E7ED56 #EFF38D #F7F9C5

Accessibility & contrast

On white

1.26
#E7ED56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#E7ED56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ED56
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ED56#FFFFFF#000000##000000
##E7ED561.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE342
Deuteranopia (green-blind)
#FFE760
Tritanopia (blue-blind)
#F6DFCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e7ed56;
/* rgb */ color: rgb(231, 237, 86);
/* oklch */ color: oklch(91.4% 0.169 111.5);
Tailwind
colors: {
  custom: {
    50: '#f2f28d',
    500: '#e7ed56',
    950: '#000000',
  },
}
SCSS
$custom: #e7ed56;
$custom-light: #f2f28d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ed56",
  "rgb": {
    "r": 231,
    "g": 237,
    "b": 86
  },
  "hsl": {
    "h": 62.384,
    "s": 80.749,
    "l": 63.333
  },
  "oklch": {
    "l": 0.9144,
    "c": 0.16935,
    "h": 111.5
  },
  "luminance": 0.78229
}

Semantic roles & 50–950 ramp

primary
#E7ED56
secondary
#3732B5
accent
#08DD11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7ED56

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

Preview Lab → · Contrast checker → · Palette generator →

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