#E7EC62#E7EC62

#E7EC62 is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.3% C 0.159 H 111.1°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#E7EC62
RGBrgb(231, 236, 98)
HSLhsl(62, 78%, 65%)
HSVhsv(62, 58%, 93%)
CMYKcmyk(2.1%, 0%, 58.5%, 7.5%)
CIE-LABlab(90.72, -19.12, 64.63)
CIE-LCHlch(90.72, 67.40, 106.48°)
OKLaboklab(91.34% -0.0573 0.1485)
OKLCHoklch(91.34% 0.159 111.1)
XYZxyz(65.1568, 77.8632, 23.1497)
Luminance0.7786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC62 #6762EC
analogous
#ECAC62 #E7EC62 #A2EC62
triadic
#E7EC62 #62E7EC #EC62E7
tetradic
#E7EC62 #62ECAC #6762EC #EC62A2
square
#E7EC62 #62ECAC #6762EC #EC62A2
split-complementary
#E7EC62 #62A2EC #AC62EC
monochromatic
#B7BD17 #DFE52B #E7EC62 #EFF399 #F8F9CF

Accessibility & contrast

On white

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

On black

16.57
#E7EC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC62
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC62#FFFFFF#000000##000000
##E7EC621.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE252
Deuteranopia (green-blind)
#FEE66A
Tritanopia (blue-blind)
#F5DFCF
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e7ec62;
/* rgb */ color: rgb(231, 236, 98);
/* oklch */ color: oklch(91.3% 0.159 111.1);
Tailwind
colors: {
  custom: {
    50: '#f1f294',
    500: '#e7ec62',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec62;
$custom-light: #f1f294;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec62",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 98
  },
  "hsl": {
    "h": 62.174,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.91337,
    "c": 0.15917,
    "h": 111.1
  },
  "luminance": 0.77862
}

Semantic roles & 50–950 ramp

primary
#E7EC62
secondary
#3B37BC
accent
#0BDB12
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7EC62

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

Preview Lab → · Contrast checker → · Palette generator →

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