#E4D698#E4D698

#E4D698 is a very light, moderate yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.081 H 96.9°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E4D698
RGBrgb(228, 214, 152)
HSLhsl(49, 58%, 75%)
HSVhsv(49, 33%, 89%)
CMYKcmyk(0%, 6.1%, 33.3%, 10.6%)
CIE-LABlab(85.43, -4.25, 32.42)
CIE-LCHlch(85.43, 32.69, 97.47°)
OKLaboklab(87.3% -0.0098 0.0807)
OKLCHoklch(87.3% 0.081 96.9)
XYZxyz(61.7098, 66.8558, 39.3534)
Luminance0.6685 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D698 #98A6E4
analogous
#E4B098 #E4D698 #CCE498
triadic
#E4D698 #98E4D6 #D698E4
tetradic
#E4D698 #98E4B0 #98A6E4 #E498CC
square
#E4D698 #98E4B0 #98A6E4 #E498CC
split-complementary
#E4D698 #98CCE4 #B098E4
monochromatic
#CBAF37 #D7C368 #E4D698 #F1E9C8 #F9F5E7

Accessibility & contrast

On white

1.46
#E4D698 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.37
#E4D698 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D698
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D698#FFFFFF#000000##000000
##E4D6981.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2D394
Deuteranopia (green-blind)
#E6D89A
Tritanopia (blue-blind)
#EFCDC6
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d698;
/* rgb */ color: rgb(228, 214, 152);
/* oklch */ color: oklch(87.3% 0.081 96.9);
Tailwind
colors: {
  custom: {
    50: '#ede2b7',
    500: '#e4d698',
    950: '#000000',
  },
}
SCSS
$custom: #e4d698;
$custom-light: #ede2b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d698",
  "rgb": {
    "r": 228,
    "g": 214,
    "b": 152
  },
  "hsl": {
    "h": 48.947,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.87295,
    "c": 0.08133,
    "h": 96.9
  },
  "luminance": 0.66854
}

Semantic roles & 50–950 ramp

primary
#E4D698
secondary
#6373BD
accent
#3EC61F
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E4D698

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

Preview Lab → · Contrast checker → · Palette generator →

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