#E4E298#E4E298

#E4E298 is a very light, moderate yellow. Relative luminance 0.732; OKLCH L 89.7% C 0.094 H 106.8°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#E4E298
RGBrgb(228, 226, 152)
HSLhsl(58, 58%, 75%)
HSVhsv(58, 33%, 89%)
CMYKcmyk(0%, 0.9%, 33.3%, 10.6%)
CIE-LABlab(88.52, -10.33, 36.49)
CIE-LCHlch(88.52, 37.92, 105.80°)
OKLaboklab(89.74% -0.0273 0.0903)
OKLCHoklch(89.74% 0.094 106.8)
XYZxyz(64.8594, 73.1549, 40.4033)
Luminance0.7315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E298 #989AE4
analogous
#E4BC98 #E4E298 #C0E498
triadic
#E4E298 #98E4E2 #E298E4
tetradic
#E4E298 #98E4BC #989AE4 #E498C0
square
#E4E298 #98E4BC #989AE4 #E498C0
split-complementary
#E4E298 #98C0E4 #BC98E4
monochromatic
#CBC737 #D7D468 #E4E298 #F1F0C8 #F9F8E7

Accessibility & contrast

On white

1.34
#E4E298 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#E4E298 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E298
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E298#FFFFFF#000000##000000
##E4E2981.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEDC93
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#EFD9CF
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e298;
/* rgb */ color: rgb(228, 226, 152);
/* oklch */ color: oklch(89.7% 0.094 106.8);
Tailwind
colors: {
  custom: {
    50: '#edebb7',
    500: '#e4e298',
    950: '#000000',
  },
}
SCSS
$custom: #e4e298;
$custom-light: #edebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e298",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 152
  },
  "hsl": {
    "h": 58.421,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89742,
    "c": 0.09431,
    "h": 106.8
  },
  "luminance": 0.73154
}

Semantic roles & 50–950 ramp

primary
#E4E298
secondary
#6365BD
accent
#24C61F
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E4E298

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

Preview Lab → · Contrast checker → · Palette generator →

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