#E7ED54#E7ED54

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

Color values

HEX#E7ED54
RGBrgb(231, 237, 84)
HSLhsl(62, 81%, 63%)
HSVhsv(62, 65%, 93%)
CMYKcmyk(2.5%, 0%, 64.6%, 7.1%)
CIE-LABlab(90.87, -20.49, 70.45)
CIE-LCHlch(90.87, 73.37, 106.22°)
OKLaboklab(91.42% -0.0626 0.1589)
OKLCHoklch(91.42% 0.171 111.5)
XYZxyz(64.8413, 78.1989, 20.0640)
Luminance0.7820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7ED54 #5A54ED
analogous
#EDA654 #E7ED54 #9AED54
triadic
#E7ED54 #54E7ED #ED54E7
tetradic
#E7ED54 #54EDA6 #5A54ED #ED549A
square
#E7ED54 #54EDA6 #5A54ED #ED549A
split-complementary
#E7ED54 #549AED #A654ED
monochromatic
#ADB413 #DFE71D #E7ED54 #EFF38B #F7F9C3

Accessibility & contrast

On white

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

On black

16.64
#E7ED54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7ED54
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7ED54#FFFFFF#000000##000000
##E7ED541.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ed54;
/* rgb */ color: rgb(231, 237, 84);
/* oklch */ color: oklch(91.4% 0.171 111.5);
Tailwind
colors: {
  custom: {
    50: '#f2f28c',
    500: '#e7ed54',
    950: '#000000',
  },
}
SCSS
$custom: #e7ed54;
$custom-light: #f2f28c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ed54",
  "rgb": {
    "r": 231,
    "g": 237,
    "b": 84
  },
  "hsl": {
    "h": 62.353,
    "s": 80.952,
    "l": 62.941
  },
  "oklch": {
    "l": 0.91424,
    "c": 0.17076,
    "h": 111.5
  },
  "luminance": 0.78197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7ED54

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

Preview Lab → · Contrast checker → · Palette generator →

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