#E4E98F#E4E98F

#E4E98F is a very light, moderate yellow. Relative luminance 0.768; OKLCH L 91.0% C 0.113 H 111.2°. Best body text is #000000 at 16.35:1 contrast (WCAG AA passes).

Color values

HEX#E4E98F
RGBrgb(228, 233, 143)
HSLhsl(63, 67%, 74%)
HSVhsv(63, 39%, 91%)
CMYKcmyk(2.1%, 0%, 38.6%, 8.6%)
CIE-LABlab(90.21, -14.83, 43.16)
CIE-LCHlch(90.21, 45.64, 108.96°)
OKLaboklab(91.04% -0.0408 0.1053)
OKLCHoklch(91.04% 0.113 111.2)
XYZxyz(66.0925, 76.7561, 37.3150)
Luminance0.7675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E98F #948FE9
analogous
#E9C18F #E4E98F #B7E98F
triadic
#E4E98F #8FE4E9 #E98FE4
tetradic
#E4E98F #8FE9C1 #948FE9 #E98FB7
square
#E4E98F #8FE9C1 #948FE9 #E98FB7
split-complementary
#E4E98F #8FB7E9 #C18FE9
monochromatic
#CBD42A #D8DF5C #E4E98F #F0F3C2 #F9FAE5

Accessibility & contrast

On white

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

On black

16.35
#E4E98F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E98F
16.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E98F#FFFFFF#000000##000000
##E4E98F1.001.2816.3516.35
#FFFFFF1.281.0021.0021.00
#00000016.3521.001.001.00
##00000016.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E288
Deuteranopia (green-blind)
#F6E493
Tritanopia (blue-blind)
#EFDFD3
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4e98f;
/* rgb */ color: rgb(228, 233, 143);
/* oklch */ color: oklch(91.0% 0.113 111.2);
Tailwind
colors: {
  custom: {
    50: '#eef0b1',
    500: '#e4e98f',
    950: '#000000',
  },
}
SCSS
$custom: #e4e98f;
$custom-light: #eef0b1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e98f",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 143
  },
  "hsl": {
    "h": 63.333,
    "s": 67.164,
    "l": 73.725
  },
  "oklch": {
    "l": 0.9104,
    "c": 0.11288,
    "h": 111.2
  },
  "luminance": 0.76755
}

Semantic roles & 50–950 ramp

primary
#E4E98F
secondary
#5F59C3
accent
#16CF21
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#161611
muted
#858581

Preview Lab

Preview with #E4E98F

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

Preview Lab → · Contrast checker → · Palette generator →

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