#E4D397#E4D397

#E4D397 is a very light, moderate yellow. Relative luminance 0.653; OKLCH L 86.7% C 0.080 H 94.2°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).

Color values

HEX#E4D397
RGBrgb(228, 211, 151)
HSLhsl(47, 59%, 74%)
HSVhsv(47, 34%, 89%)
CMYKcmyk(0%, 7.5%, 33.8%, 10.6%)
CIE-LABlab(84.65, -2.83, 31.89)
CIE-LCHlch(84.65, 32.02, 95.07°)
OKLaboklab(86.67% -0.0058 0.0795)
OKLCHoklch(86.67% 0.08 94.2)
XYZxyz(60.8760, 65.3186, 38.6732)
Luminance0.6532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D397 #97A8E4
analogous
#E4AD97 #E4D397 #CFE497
triadic
#E4D397 #97E4D3 #D397E4
tetradic
#E4D397 #97E4AD #97A8E4 #E497CF
square
#E4D397 #97E4AD #97A8E4 #E497CF
split-complementary
#E4D397 #97CFE4 #AD97E4
monochromatic
#CBAA36 #D7BE66 #E4D397 #F1E8C8 #F9F5E7

Accessibility & contrast

On white

1.49
#E4D397 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.06
#E4D397 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D397
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D397#FFFFFF#000000##000000
##E4D3971.001.4914.0614.06
#FFFFFF1.491.0021.0021.00
#00000014.0621.001.001.00
##00000014.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD093
Deuteranopia (green-blind)
#E4D699
Tritanopia (blue-blind)
#F0CAC3
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e4d397;
/* rgb */ color: rgb(228, 211, 151);
/* oklch */ color: oklch(86.7% 0.080 94.2);
Tailwind
colors: {
  custom: {
    50: '#ede0b6',
    500: '#e4d397',
    950: '#000000',
  },
}
SCSS
$custom: #e4d397;
$custom-light: #ede0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d397",
  "rgb": {
    "r": 228,
    "g": 211,
    "b": 151
  },
  "hsl": {
    "h": 46.753,
    "s": 58.779,
    "l": 74.314
  },
  "oklch": {
    "l": 0.86671,
    "c": 0.07968,
    "h": 94.2
  },
  "luminance": 0.65317
}

Semantic roles & 50–950 ramp

primary
#E4D397
secondary
#6276BD
accent
#44C61F
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161511
muted
#858481

Preview Lab

Preview with #E4D397

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

Preview Lab → · Contrast checker → · Palette generator →

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