#E4E898#E4E898

#E4E898 is a very light, moderate yellow. Relative luminance 0.765; OKLCH L 91.0% C 0.102 H 110.7°. Best body text is #000000 at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#E4E898
RGBrgb(228, 232, 152)
HSLhsl(63, 63%, 75%)
HSVhsv(63, 34%, 91%)
CMYKcmyk(1.7%, 0%, 34.5%, 9%)
CIE-LABlab(90.08, -13.32, 38.52)
CIE-LCHlch(90.08, 40.76, 109.07°)
OKLaboklab(90.98% -0.0359 0.095)
OKLCHoklch(90.98% 0.102 110.7)
XYZxyz(66.5195, 76.4752, 40.9567)
Luminance0.7647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E898 #9C98E8
analogous
#E8C498 #E4E898 #BCE898
triadic
#E4E898 #98E4E8 #E898E4
tetradic
#E4E898 #98E8C4 #9C98E8 #E898BC
square
#E4E898 #98E8C4 #9C98E8 #E898BC
split-complementary
#E4E898 #98BCE8 #C498E8
monochromatic
#CAD234 #D7DD66 #E4E898 #F1F3CA #F8F9E6

Accessibility & contrast

On white

1.29
#E4E898 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.29
#E4E898 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E898
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E898#FFFFFF#000000##000000
##E4E8981.001.2916.2916.29
#FFFFFF1.291.0021.0021.00
#00000016.2921.001.001.00
##00000016.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E192
Deuteranopia (green-blind)
#F4E49B
Tritanopia (blue-blind)
#EEDFD4
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e898;
/* rgb */ color: rgb(228, 232, 152);
/* oklch */ color: oklch(91.0% 0.102 110.7);
Tailwind
colors: {
  custom: {
    50: '#edefb7',
    500: '#e4e898',
    950: '#000000',
  },
}
SCSS
$custom: #e4e898;
$custom-light: #edefb7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e898",
  "rgb": {
    "r": 228,
    "g": 232,
    "b": 152
  },
  "hsl": {
    "h": 63,
    "s": 63.492,
    "l": 75.294
  },
  "oklch": {
    "l": 0.90979,
    "c": 0.10154,
    "h": 110.7
  },
  "luminance": 0.76474
}

Semantic roles & 50–950 ramp

primary
#E4E898
secondary
#6762C2
accent
#1ACB23
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E4E898

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

Preview Lab → · Contrast checker → · Palette generator →

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