#E4D97D#E4D97D

#E4D97D is a very light, moderate yellow. Relative luminance 0.676; OKLCH L 87.5% C 0.114 H 102.5°. Best body text is #000000 at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#E4D97D
RGBrgb(228, 217, 125)
HSLhsl(54, 66%, 69%)
HSVhsv(54, 45%, 89%)
CMYKcmyk(0%, 4.8%, 45.2%, 10.6%)
CIE-LABlab(85.81, -8.69, 46.47)
CIE-LCHlch(85.81, 47.27, 100.59°)
OKLaboklab(87.46% -0.0247 0.1117)
OKLCHoklch(87.46% 0.114 102.5)
XYZxyz(60.5109, 67.6022, 29.2591)
Luminance0.6760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D97D #7D88E4
analogous
#E4A67D #E4D97D #BCE47D
triadic
#E4D97D #7DE4D9 #D97DE4
tetradic
#E4D97D #7DE4A6 #7D88E4 #E47DBC
square
#E4D97D #7DE4A6 #7D88E4 #E47DBC
split-complementary
#E4D97D #7DBCE4 #A67DE4
monochromatic
#BFAF28 #D9CA4A #E4D97D #EFE8B0 #F9F7E2

Accessibility & contrast

On white

1.45
#E4D97D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.52
#E4D97D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D97D
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D97D#FFFFFF#000000##000000
##E4D97D1.001.4514.5214.52
#FFFFFF1.451.0021.0021.00
#00000014.5221.001.001.00
##00000014.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D375
Deuteranopia (green-blind)
#ECD981
Tritanopia (blue-blind)
#F2CEC3
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e4d97d;
/* rgb */ color: rgb(228, 217, 125);
/* oklch */ color: oklch(87.5% 0.114 102.5);
Tailwind
colors: {
  custom: {
    50: '#eee4a4',
    500: '#e4d97d',
    950: '#000000',
  },
}
SCSS
$custom: #e4d97d;
$custom-light: #eee4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d97d",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 125
  },
  "hsl": {
    "h": 53.592,
    "s": 65.605,
    "l": 69.216
  },
  "oklch": {
    "l": 0.87463,
    "c": 0.11438,
    "h": 102.5
  },
  "luminance": 0.676
}

Semantic roles & 50–950 ramp

primary
#E4D97D
secondary
#4956BC
accent
#2BCD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D97D

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

Preview Lab → · Contrast checker → · Palette generator →

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