#E2EC98#E2EC98

#E2EC98 is a very light, moderate yellow. Relative luminance 0.784; OKLCH L 91.7% C 0.107 H 114.1°. Best body text is #000000 at 16.69:1 contrast (WCAG AA passes).

Color values

HEX#E2EC98
RGBrgb(226, 236, 152)
HSLhsl(67, 69%, 76%)
HSVhsv(67, 36%, 93%)
CMYKcmyk(4.2%, 0%, 35.6%, 7.5%)
CIE-LABlab(90.97, -16.05, 39.66)
CIE-LCHlch(90.97, 42.78, 112.03°)
OKLaboklab(91.66% -0.0436 0.0976)
OKLCHoklch(91.66% 0.107 114.1)
XYZxyz(67.0273, 78.4274, 41.3067)
Luminance0.7843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EC98 #A298EC
analogous
#ECCC98 #E2EC98 #B8EC98
triadic
#E2EC98 #98E2EC #EC98E2
tetradic
#E2EC98 #98ECCC #A298EC #EC98B8
square
#E2EC98 #98ECCC #A298EC #EC98B8
split-complementary
#E2EC98 #98B8EC #CC98EC
monochromatic
#C5D931 #D3E264 #E2EC98 #F1F6CC #F8FAE5

Accessibility & contrast

On white

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

On black

16.69
#E2EC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EC98
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EC98#FFFFFF#000000##000000
##E2EC981.001.2616.6916.69
#FFFFFF1.261.0021.0021.00
#00000016.6921.001.001.00
##00000016.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E492
Deuteranopia (green-blind)
#F7E69C
Tritanopia (blue-blind)
#EBE3D7
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e2ec98;
/* rgb */ color: rgb(226, 236, 152);
/* oklch */ color: oklch(91.7% 0.107 114.1);
Tailwind
colors: {
  custom: {
    50: '#ecf2b7',
    500: '#e2ec98',
    950: '#000000',
  },
}
SCSS
$custom: #e2ec98;
$custom-light: #ecf2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ec98",
  "rgb": {
    "r": 226,
    "g": 236,
    "b": 152
  },
  "hsl": {
    "h": 67.143,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.91655,
    "c": 0.10691,
    "h": 114.1
  },
  "luminance": 0.78427
}

Semantic roles & 50–950 ramp

primary
#E2EC98
secondary
#6D61C8
accent
#15D12B
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2EC98

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

Preview Lab → · Contrast checker → · Palette generator →

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