#E4E197#E4E197

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

Color values

HEX#E4E197
RGBrgb(228, 225, 151)
HSLhsl(58, 59%, 74%)
HSVhsv(58, 34%, 89%)
CMYKcmyk(0%, 1.3%, 33.8%, 10.6%)
CIE-LABlab(88.25, -9.94, 36.64)
CIE-LCHlch(88.25, 37.96, 105.18°)
OKLaboklab(89.52% -0.0263 0.0906)
OKLCHoklch(89.52% 0.094 106.2)
XYZxyz(64.5067, 72.5801, 39.8834)
Luminance0.7258 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E197 #979AE4
analogous
#E4BB97 #E4E197 #C1E497
triadic
#E4E197 #97E4E1 #E197E4
tetradic
#E4E197 #97E4BB #979AE4 #E497C1
square
#E4E197 #97E4BB #979AE4 #E497C1
split-complementary
#E4E197 #97C1E4 #BB97E4
monochromatic
#CBC536 #D7D366 #E4E197 #F1EFC8 #F9F8E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4E197#FFFFFF#000000##000000
##E4E1971.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)
#EDDB92
Deuteranopia (green-blind)
#EFDF9A
Tritanopia (blue-blind)
#EFD8CE
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e197;
/* rgb */ color: rgb(228, 225, 151);
/* oklch */ color: oklch(89.5% 0.094 106.2);
Tailwind
colors: {
  custom: {
    50: '#edeab6',
    500: '#e4e197',
    950: '#000000',
  },
}
SCSS
$custom: #e4e197;
$custom-light: #edeab6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e197",
  "rgb": {
    "r": 228,
    "g": 225,
    "b": 151
  },
  "hsl": {
    "h": 57.662,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.89519,
    "c": 0.09431,
    "h": 106.2
  },
  "luminance": 0.72579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4E197

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

Preview Lab → · Contrast checker → · Palette generator →

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