#E7EC99#E7EC99

#E7EC99 is a very light, moderate yellow. Relative luminance 0.793; OKLCH L 92.1% C 0.105 H 111.2°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#E7EC99
RGBrgb(231, 236, 153)
HSLhsl(64, 69%, 76%)
HSVhsv(64, 35%, 93%)
CMYKcmyk(2.1%, 0%, 35.2%, 7.5%)
CIE-LABlab(91.36, -14.04, 39.73)
CIE-LCHlch(91.36, 42.14, 109.46°)
OKLaboklab(92.06% -0.038 0.0978)
OKLCHoklch(92.06% 0.105 111.2)
XYZxyz(68.7007, 79.2808, 41.8144)
Luminance0.7928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7EC99 #9E99EC
analogous
#ECC899 #E7EC99 #BEEC99
triadic
#E7EC99 #99E7EC #EC99E7
tetradic
#E7EC99 #99ECC8 #9E99EC #EC99BE
square
#E7EC99 #99ECC8 #9E99EC #EC99BE
split-complementary
#E7EC99 #99BEEC #C899EC
monochromatic
#CFD932 #DBE265 #E7EC99 #F3F6CD #F9FAE5

Accessibility & contrast

On white

1.25
#E7EC99 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.86
#E7EC99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7EC99
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7EC99#FFFFFF#000000##000000
##E7EC991.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E593
Deuteranopia (green-blind)
#F8E79D
Tritanopia (blue-blind)
#F1E3D7
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e7ec99;
/* rgb */ color: rgb(231, 236, 153);
/* oklch */ color: oklch(92.1% 0.105 111.2);
Tailwind
colors: {
  custom: {
    50: '#eff2b8',
    500: '#e7ec99',
    950: '#000000',
  },
}
SCSS
$custom: #e7ec99;
$custom-light: #eff2b8;
$custom-dark: #000000;
JSON
{
  "hex": "#e7ec99",
  "rgb": {
    "r": 231,
    "g": 236,
    "b": 153
  },
  "hsl": {
    "h": 63.614,
    "s": 68.595,
    "l": 76.275
  },
  "oklch": {
    "l": 0.92059,
    "c": 0.10493,
    "h": 111.2
  },
  "luminance": 0.7928
}

Semantic roles & 50–950 ramp

primary
#E7EC99
secondary
#6862C8
accent
#15D120
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171611
muted
#858581

Preview Lab

Preview with #E7EC99

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

Preview Lab → · Contrast checker → · Palette generator →

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