#E7EC51#E7EC51

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

Color values

HEX#E7EC51
RGBrgb(231, 236, 81)
HSLhsl(62, 80%, 62%)
HSVhsv(62, 66%, 93%)
CMYKcmyk(2.1%, 0%, 65.7%, 7.5%)
CIE-LABlab(90.59, -20.18, 71.30)
CIE-LCHlch(90.59, 74.10, 105.80°)
OKLaboklab(91.19% -0.062 0.1602)
OKLCHoklch(91.19% 0.172 111.2)
XYZxyz(64.4376, 77.5755, 19.3621)
Luminance0.7757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC51 #5651EC
analogous
#ECA351 #E7EC51 #9AEC51
triadic
#E7EC51 #51E7EC #EC51E7
tetradic
#E7EC51 #51ECA3 #5651EC #EC519A
square
#E7EC51 #51ECA3 #5651EC #EC519A
split-complementary
#E7EC51 #519AEC #A351EC
monochromatic
#AAAF13 #DFE61A #E7EC51 #EFF288 #F6F8BF

Accessibility & contrast

On white

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

On black

16.51
#E7EC51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC51
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC51#FFFFFF#000000##000000
##E7EC511.001.2716.5116.51
#FFFFFF1.271.0021.0021.00
#00000016.5121.001.001.00
##00000016.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7ec51;
/* rgb */ color: rgb(231, 236, 81);
/* oklch */ color: oklch(91.2% 0.172 111.2);
Tailwind
colors: {
  custom: {
    50: '#f2f18a',
    500: '#e7ec51',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec51;
$custom-light: #f2f18a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec51",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 81
  },
  "hsl": {
    "h": 61.935,
    "s": 80.311,
    "l": 62.157
  },
  "oklch": {
    "l": 0.9119,
    "c": 0.1718,
    "h": 111.2
  },
  "luminance": 0.77574
}

Semantic roles & 50–950 ramp

primary
#E7EC51
secondary
#3531B0
accent
#09DD10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E7EC51

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

Preview Lab → · Contrast checker → · Palette generator →

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