#E4E98A#E4E98A

#E4E98A is a very light, moderate yellow. Relative luminance 0.766; OKLCH L 91.0% C 0.118 H 111.1°. Best body text is #000000 at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#E4E98A
RGBrgb(228, 233, 138)
HSLhsl(63, 68%, 73%)
HSVhsv(63, 41%, 91%)
CMYKcmyk(2.1%, 0%, 40.8%, 8.6%)
CIE-LABlab(90.14, -15.36, 45.52)
CIE-LCHlch(90.14, 48.05, 108.65°)
OKLaboklab(90.96% -0.0427 0.1104)
OKLCHoklch(90.96% 0.118 111.1)
XYZxyz(65.7221, 76.6079, 35.3645)
Luminance0.7661 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E98A #8F8AE9
analogous
#E9BE8A #E4E98A #B4E98A
triadic
#E4E98A #8AE4E9 #E98AE4
tetradic
#E4E98A #8AE9BE #8F8AE9 #E98AB4
square
#E4E98A #8AE9BE #8F8AE9 #E98AB4
split-complementary
#E4E98A #8AB4E9 #BE8AE9
monochromatic
#C8D127 #D8DF56 #E4E98A #F0F3BE #F9FAE5

Accessibility & contrast

On white

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

On black

16.32
#E4E98A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E98A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E98A#FFFFFF#000000##000000
##E4E98A1.001.2916.3216.32
#FFFFFF1.291.0021.0021.00
#00000016.3221.001.001.00
##00000016.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E183
Deuteranopia (green-blind)
#F7E48E
Tritanopia (blue-blind)
#EFDFD2
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e98a;
/* rgb */ color: rgb(228, 233, 138);
/* oklch */ color: oklch(91.0% 0.118 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeefad',
    500: '#e4e98a',
    950: '#000000',
  },
}
SCSS
$custom: #e4e98a;
$custom-light: #eeefad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e98a",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 138
  },
  "hsl": {
    "h": 63.158,
    "s": 68.345,
    "l": 72.745
  },
  "oklch": {
    "l": 0.90963,
    "c": 0.11833,
    "h": 111.1
  },
  "luminance": 0.76607
}

Semantic roles & 50–950 ramp

primary
#E4E98A
secondary
#5A54C3
accent
#15D01F
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161610
muted
#858581

Preview Lab

Preview with #E4E98A

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

Preview Lab → · Contrast checker → · Palette generator →

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