#E4E998#E4E998

#E4E998 is a very light, moderate yellow. Relative luminance 0.770; OKLCH L 91.2% C 0.103 H 111.3°. Best body text is #000000 at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#E4E998
RGBrgb(228, 233, 152)
HSLhsl(64, 65%, 75%)
HSVhsv(64, 35%, 91%)
CMYKcmyk(2.1%, 0%, 34.8%, 8.6%)
CIE-LABlab(90.34, -13.81, 38.86)
CIE-LCHlch(90.34, 41.24, 109.57°)
OKLaboklab(91.19% -0.0373 0.0958)
OKLCHoklch(91.19% 0.103 111.3)
XYZxyz(66.8018, 77.0398, 41.0508)
Luminance0.7704 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E998 #9D98E9
analogous
#E9C598 #E4E998 #BBE998
triadic
#E4E998 #98E4E9 #E998E4
tetradic
#E4E998 #98E9C5 #9D98E9 #E998BB
square
#E4E998 #98E9C5 #9D98E9 #E998BB
split-complementary
#E4E998 #98BBE9 #C598E9
monochromatic
#CAD333 #D7DE66 #E4E998 #F1F4CA #F8FAE6

Accessibility & contrast

On white

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

On black

16.41
#E4E998 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E998
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E998#FFFFFF#000000##000000
##E4E9981.001.2816.4116.41
#FFFFFF1.281.0021.0021.00
#00000016.4121.001.001.00
##00000016.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5E292
Deuteranopia (green-blind)
#F5E59B
Tritanopia (blue-blind)
#EEE0D5
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e998;
/* rgb */ color: rgb(228, 233, 152);
/* oklch */ color: oklch(91.2% 0.103 111.3);
Tailwind
colors: {
  custom: {
    50: '#edf0b7',
    500: '#e4e998',
    950: '#000000',
  },
}
SCSS
$custom: #e4e998;
$custom-light: #edf0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e998",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 152
  },
  "hsl": {
    "h": 63.704,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91186,
    "c": 0.10277,
    "h": 111.3
  },
  "luminance": 0.77039
}

Semantic roles & 50–950 ramp

primary
#E4E998
secondary
#6761C4
accent
#19CD24
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E998

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

Preview Lab → · Contrast checker → · Palette generator →

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