#E4E198#E4E198

#E4E198 is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.5% C 0.093 H 106.1°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#E4E198
RGBrgb(228, 225, 152)
HSLhsl(58, 58%, 75%)
HSVhsv(58, 33%, 89%)
CMYKcmyk(0%, 1.3%, 33.3%, 10.6%)
CIE-LABlab(88.26, -9.82, 36.15)
CIE-LCHlch(88.26, 37.46, 105.20°)
OKLaboklab(89.54% -0.0259 0.0895)
OKLCHoklch(89.54% 0.093 106.1)
XYZxyz(64.5882, 72.6127, 40.3129)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E198 #989BE4
analogous
#E4BB98 #E4E198 #C1E498
triadic
#E4E198 #98E4E1 #E198E4
tetradic
#E4E198 #98E4BB #989BE4 #E498C1
square
#E4E198 #98E4BB #989BE4 #E498C1
split-complementary
#E4E198 #98C1E4 #BB98E4
monochromatic
#CBC537 #D7D368 #E4E198 #F1EFC8 #F9F8E7

Accessibility & contrast

On white

1.35
#E4E198 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#E4E198 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E198
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E198#FFFFFF#000000##000000
##E4E1981.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB93
Deuteranopia (green-blind)
#EFDF9B
Tritanopia (blue-blind)
#EFD8CE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e198;
/* rgb */ color: rgb(228, 225, 152);
/* oklch */ color: oklch(89.5% 0.093 106.1);
Tailwind
colors: {
  custom: {
    50: '#edeab7',
    500: '#e4e198',
    950: '#000000',
  },
}
SCSS
$custom: #e4e198;
$custom-light: #edeab7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e198",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 152
  },
  "hsl": {
    "h": 57.632,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.89537,
    "c": 0.09315,
    "h": 106.1
  },
  "luminance": 0.72611
}

Semantic roles & 50–950 ramp

primary
#E4E198
secondary
#6366BD
accent
#26C61F
background
#FFFEFD
surface
#FEFDF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E4E198

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

Preview Lab → · Contrast checker → · Palette generator →

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