#E4D17C#E4D17C

#E4D17C is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.108 H 97.1°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#E4D17C
RGBrgb(228, 209, 124)
HSLhsl(49, 66%, 69%)
HSVhsv(49, 46%, 89%)
CMYKcmyk(0%, 8.3%, 45.6%, 10.6%)
CIE-LABlab(83.73, -4.72, 44.39)
CIE-LCHlch(83.73, 44.64, 96.07°)
OKLaboklab(85.82% -0.0133 0.107)
OKLCHoklch(85.82% 0.108 97.1)
XYZxyz(58.4351, 63.5522, 28.2536)
Luminance0.6355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D17C #7C8FE4
analogous
#E49D7C #E4D17C #C3E47C
triadic
#E4D17C #7CE4D1 #D17CE4
tetradic
#E4D17C #7CE49D #7C8FE4 #E47CC3
square
#E4D17C #7CE49D #7C8FE4 #E47CC3
split-complementary
#E4D17C #7CC3E4 #9D7CE4
monochromatic
#BEA327 #DABF49 #E4D17C #EEE3AF #F9F5E1

Accessibility & contrast

On white

1.53
#E4D17C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.71
#E4D17C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D17C
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D17C#FFFFFF#000000##000000
##E4D17C1.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CD75
Deuteranopia (green-blind)
#E6D47F
Tritanopia (blue-blind)
#F2C6BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d17c;
/* rgb */ color: rgb(228, 209, 124);
/* oklch */ color: oklch(85.8% 0.108 97.1);
Tailwind
colors: {
  custom: {
    50: '#eedea3',
    500: '#e4d17c',
    950: '#000000',
  },
}
SCSS
$custom: #e4d17c;
$custom-light: #eedea3;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d17c",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 124
  },
  "hsl": {
    "h": 49.038,
    "s": 65.823,
    "l": 69.02
  },
  "oklch": {
    "l": 0.85815,
    "c": 0.10779,
    "h": 97.1
  },
  "luminance": 0.6355
}

Semantic roles & 50–950 ramp

primary
#E4D17C
secondary
#495EBC
accent
#39CE18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D17C

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

Preview Lab → · Contrast checker → · Palette generator →

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