#E7EC54#E7EC54

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

Color values

HEX#E7EC54
RGBrgb(231, 236, 84)
HSLhsl(62, 80%, 63%)
HSVhsv(62, 64%, 93%)
CMYKcmyk(2.1%, 0%, 64.4%, 7.5%)
CIE-LABlab(90.61, -20.01, 70.18)
CIE-LCHlch(90.61, 72.97, 105.91°)
OKLaboklab(91.21% -0.0612 0.1583)
OKLCHoklch(91.21% 0.17 111.1)
XYZxyz(64.5526, 77.6215, 19.9678)
Luminance0.7762 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC54 #5954EC
analogous
#ECA554 #E7EC54 #9BEC54
triadic
#E7EC54 #54E7EC #EC54E7
tetradic
#E7EC54 #54ECA5 #5954EC #EC549B
square
#E7EC54 #54ECA5 #5954EC #EC549B
split-complementary
#E7EC54 #549BEC #A554EC
monochromatic
#ADB214 #DFE61D #E7EC54 #EFF28B #F6F8C2

Accessibility & contrast

On white

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

On black

16.52
#E7EC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC54
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC54#FFFFFF#000000##000000
##E7EC541.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ec54;
/* rgb */ color: rgb(231, 236, 84);
/* oklch */ color: oklch(91.2% 0.170 111.1);
Tailwind
colors: {
  custom: {
    50: '#f2f18c',
    500: '#e7ec54',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec54;
$custom-light: #f2f18c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec54",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 84
  },
  "hsl": {
    "h": 61.974,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.91213,
    "c": 0.16973,
    "h": 111.1
  },
  "luminance": 0.7762
}

Semantic roles & 50–950 ramp

primary
#E7EC54
secondary
#3632B2
accent
#09DC10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EC54

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

Preview Lab → · Contrast checker → · Palette generator →

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