#E2ED98#E2ED98

#E2ED98 is a very light, moderate yellow. Relative luminance 0.790; OKLCH L 91.9% C 0.108 H 114.6°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#E2ED98
RGBrgb(226, 237, 152)
HSLhsl(68, 70%, 76%)
HSVhsv(68, 36%, 93%)
CMYKcmyk(4.6%, 0%, 35.9%, 7.1%)
CIE-LABlab(91.24, -16.54, 40.00)
CIE-LCHlch(91.24, 43.28, 112.47°)
OKLaboklab(91.86% -0.045 0.0984)
OKLCHoklch(91.86% 0.108 114.6)
XYZxyz(67.3160, 79.0048, 41.4029)
Luminance0.7900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2ED98 #A398ED
analogous
#EDCE98 #E2ED98 #B8ED98
triadic
#E2ED98 #98E2ED #ED98E2
tetradic
#E2ED98 #98EDCE #A398ED #ED98B8
square
#E2ED98 #98EDCE #A398ED #ED98B8
split-complementary
#E2ED98 #98B8ED #CE98ED
monochromatic
#C5DB30 #D3E464 #E2ED98 #F1F6CC #F8FAE5

Accessibility & contrast

On white

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

On black

16.80
#E2ED98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2ED98
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2ED98#FFFFFF#000000##000000
##E2ED981.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E592
Deuteranopia (green-blind)
#F8E79C
Tritanopia (blue-blind)
#EBE4D8
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #e2ed98;
/* rgb */ color: rgb(226, 237, 152);
/* oklch */ color: oklch(91.9% 0.108 114.6);
Tailwind
colors: {
  custom: {
    50: '#ecf2b7',
    500: '#e2ed98',
    950: '#000000',
  },
}
SCSS
$custom: #e2ed98;
$custom-light: #ecf2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ed98",
  "rgb": {
    "r": 226,
    "g": 237,
    "b": 152
  },
  "hsl": {
    "h": 67.765,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.91863,
    "c": 0.10821,
    "h": 114.6
  },
  "luminance": 0.79004
}

Semantic roles & 50–950 ramp

primary
#E2ED98
secondary
#6E60C9
accent
#13D22C
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2ED98

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

Preview Lab → · Contrast checker → · Palette generator →

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