#E7EC57#E7EC57

#E7EC57 is a very light, vivid yellow. Relative luminance 0.777; OKLCH L 91.2% C 0.168 H 111.1°. Best body text is #000000 at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#E7EC57
RGBrgb(231, 236, 87)
HSLhsl(62, 80%, 63%)
HSVhsv(62, 63%, 93%)
CMYKcmyk(2.1%, 0%, 63.1%, 7.5%)
CIE-LABlab(90.63, -19.83, 69.03)
CIE-LCHlch(90.63, 71.82, 106.03°)
OKLaboklab(91.24% -0.0604 0.1563)
OKLCHoklch(91.24% 0.168 111.1)
XYZxyz(64.6727, 77.6695, 20.5999)
Luminance0.7767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC57 #5C57EC
analogous
#ECA657 #E7EC57 #9DEC57
triadic
#E7EC57 #57E7EC #EC57E7
tetradic
#E7EC57 #57ECA6 #5C57EC #EC579D
square
#E7EC57 #57ECA6 #5C57EC #EC579D
split-complementary
#E7EC57 #579DEC #A657EC
monochromatic
#AFB414 #DFE620 #E7EC57 #EFF28E #F7F8C5

Accessibility & contrast

On white

1.27
#E7EC57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.53
#E7EC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC57
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC57#FFFFFF#000000##000000
##E7EC571.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE243
Deuteranopia (green-blind)
#FEE661
Tritanopia (blue-blind)
#F6DECD
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e7ec57;
/* rgb */ color: rgb(231, 236, 87);
/* oklch */ color: oklch(91.2% 0.168 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f18d',
    500: '#e7ec57',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec57;
$custom-light: #f2f18d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec57",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 87
  },
  "hsl": {
    "h": 62.013,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.91238,
    "c": 0.1676,
    "h": 111.1
  },
  "luminance": 0.77668
}

Semantic roles & 50–950 ramp

primary
#E7EC57
secondary
#3733B4
accent
#0ADC11
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EC57

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

Preview Lab → · Contrast checker → · Palette generator →

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