#E7EC71#E7EC71

#E7EC71 is a very light, vivid yellow. Relative luminance 0.782; OKLCH L 91.5% C 0.146 H 111.1°. Best body text is #000000 at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#E7EC71
RGBrgb(231, 236, 113)
HSLhsl(62, 76%, 68%)
HSVhsv(62, 52%, 93%)
CMYKcmyk(2.1%, 0%, 52.1%, 7.5%)
CIE-LABlab(90.86, -17.99, 58.23)
CIE-LCHlch(90.86, 60.94, 107.17°)
OKLaboklab(91.5% -0.0526 0.1364)
OKLCHoklch(91.5% 0.146 111.1)
XYZxyz(65.9326, 78.1735, 27.2354)
Luminance0.7817 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC71 #7671EC
analogous
#ECB371 #E7EC71 #A9EC71
triadic
#E7EC71 #71E7EC #EC71E7
tetradic
#E7EC71 #71ECB3 #7671EC #EC71A9
square
#E7EC71 #71ECB3 #7671EC #EC71A9
split-complementary
#E7EC71 #71A9EC #B371EC
monochromatic
#C1C81B #DEE53B #E7EC71 #F0F3A7 #F9FADD

Accessibility & contrast

On white

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

On black

16.63
#E7EC71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC71
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC71#FFFFFF#000000##000000
##E7EC711.001.2616.6316.63
#FFFFFF1.261.0021.0021.00
#00000016.6321.001.001.00
##00000016.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE365
Deuteranopia (green-blind)
#FCE778
Tritanopia (blue-blind)
#F5E0D0
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e7ec71;
/* rgb */ color: rgb(231, 236, 113);
/* oklch */ color: oklch(91.5% 0.146 111.1);
Tailwind
colors: {
  custom: {
    50: '#f1f29d',
    500: '#e7ec71',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec71;
$custom-light: #f1f29d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec71",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 113
  },
  "hsl": {
    "h": 62.439,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.91496,
    "c": 0.14623,
    "h": 111.1
  },
  "luminance": 0.78172
}

Semantic roles & 50–950 ramp

primary
#E7EC71
secondary
#423DC4
accent
#0DD915
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E7EC71

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

Preview Lab → · Contrast checker → · Palette generator →

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