#E2EC74#E2EC74

#E2EC74 is a very light, vivid yellow. Relative luminance 0.774; OKLCH L 91.1% C 0.144 H 113.2°. Best body text is #000000 at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#E2EC74
RGBrgb(226, 236, 116)
HSLhsl(65, 76%, 69%)
HSVhsv(65, 51%, 93%)
CMYKcmyk(4.2%, 0%, 50.8%, 7.5%)
CIE-LABlab(90.52, -19.70, 56.37)
CIE-LCHlch(90.52, 59.71, 109.27°)
OKLaboklab(91.14% -0.0569 0.1328)
OKLCHoklch(91.14% 0.144 113.2)
XYZxyz(64.5131, 77.4217, 28.0650)
Luminance0.7742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC74 #7E74EC
analogous
#ECBA74 #E2EC74 #A6EC74
triadic
#E2EC74 #74E2EC #EC74E2
tetradic
#E2EC74 #74ECBA #7E74EC #EC74A6
square
#E2EC74 #74ECBA #7E74EC #EC74A6
split-complementary
#E2EC74 #74A6EC #BA74EC
monochromatic
#BBCA1C #D7E53E #E2EC74 #EDF3AA #F8FBE0

Accessibility & contrast

On white

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

On black

16.48
#E2EC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC74
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC74#FFFFFF#000000##000000
##E2EC741.001.2716.4816.48
#FFFFFF1.271.0021.0021.00
#00000016.4821.001.001.00
##00000016.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE269
Deuteranopia (green-blind)
#FBE57A
Tritanopia (blue-blind)
#EFE0D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2ec74;
/* rgb */ color: rgb(226, 236, 116);
/* oklch */ color: oklch(91.1% 0.144 113.2);
Tailwind
colors: {
  custom: {
    50: '#edf29f',
    500: '#e2ec74',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec74;
$custom-light: #edf29f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec74",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 116
  },
  "hsl": {
    "h": 65,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.91139,
    "c": 0.14445,
    "h": 113.2
  },
  "luminance": 0.77421
}

Semantic roles & 50–950 ramp

primary
#E2EC74
secondary
#4B40C5
accent
#0DD81E
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160F
muted
#858580

Preview Lab

Preview with #E2EC74

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

Preview Lab → · Contrast checker → · Palette generator →

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