#E2EC6F#E2EC6F

#E2EC6F is a very light, vivid yellow. Relative luminance 0.773; OKLCH L 91.1% C 0.149 H 113.1°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#E2EC6F
RGBrgb(226, 236, 111)
HSLhsl(65, 77%, 68%)
HSVhsv(65, 53%, 93%)
CMYKcmyk(4.2%, 0%, 53%, 7.5%)
CIE-LABlab(90.46, -20.12, 58.57)
CIE-LCHlch(90.46, 61.93, 108.96°)
OKLaboklab(91.08% -0.0586 0.1371)
OKLCHoklch(91.08% 0.149 113.1)
XYZxyz(64.2300, 77.3085, 26.5743)
Luminance0.7731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC6F #796FEC
analogous
#ECB76F #E2EC6F #A3EC6F
triadic
#E2EC6F #6FE2EC #EC6FE2
tetradic
#E2EC6F #6FECB7 #796FEC #EC6FA3
square
#E2EC6F #6FECB7 #796FEC #EC6FA3
split-complementary
#E2EC6F #6FA3EC #B76FEC
monochromatic
#B9C61A #D7E539 #E2EC6F #EDF3A5 #F8FADB

Accessibility & contrast

On white

1.28
#E2EC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#E2EC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC6F
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC6F#FFFFFF#000000##000000
##E2EC6F1.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE263
Deuteranopia (green-blind)
#FBE576
Tritanopia (blue-blind)
#EFE0D0
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2ec6f;
/* rgb */ color: rgb(226, 236, 111);
/* oklch */ color: oklch(91.1% 0.149 113.1);
Tailwind
colors: {
  custom: {
    50: '#edf29c',
    500: '#e2ec6f',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec6f;
$custom-light: #edf29c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec6f",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 111
  },
  "hsl": {
    "h": 64.8,
    "s": 76.687,
    "l": 68.039
  },
  "oklch": {
    "l": 0.91081,
    "c": 0.14906,
    "h": 113.1
  },
  "luminance": 0.77307
}

Semantic roles & 50–950 ramp

primary
#E2EC6F
secondary
#463BC4
accent
#0DD91D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E2EC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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