#E4D366#E4D366

#E4D366 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.131 H 100.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#E4D366
RGBrgb(228, 211, 102)
HSLhsl(52, 70%, 65%)
HSVhsv(52, 55%, 89%)
CMYKcmyk(0%, 7.5%, 55.3%, 10.6%)
CIE-LABlab(83.99, -7.65, 55.23)
CIE-LCHlch(83.99, 55.76, 97.88°)
OKLaboklab(85.93% -0.024 0.1289)
OKLCHoklch(85.93% 0.131 100.6)
XYZxyz(57.6894, 64.0440, 21.8907)
Luminance0.6404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D366 #6677E4
analogous
#E49466 #E4D366 #B6E466
triadic
#E4D366 #66E4D3 #D366E4
tetradic
#E4D366 #66E494 #6677E4 #E466B6
square
#E4D366 #66E494 #6677E4 #E466B6
split-complementary
#E4D366 #66B6E4 #9466E4
monochromatic
#B09D1F #DBC432 #E4D366 #EDE29A #F6F1CE

Accessibility & contrast

On white

1.52
#E4D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.81
#E4D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D366
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D366#FFFFFF#000000##000000
##E4D3661.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#E9D46B
Tritanopia (blue-blind)
#F3C6BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d366;
/* rgb */ color: rgb(228, 211, 102);
/* oklch */ color: oklch(85.9% 0.131 100.6);
Tailwind
colors: {
  custom: {
    50: '#efe095',
    500: '#e4d366',
    950: '#000000',
  },
}
SCSS
$custom: #e4d366;
$custom-light: #efe095;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d366",
  "rgb": {
    "r": 228,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 51.905,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85935,
    "c": 0.13113,
    "h": 100.6
  },
  "luminance": 0.64042
}

Semantic roles & 50–950 ramp

primary
#E4D366
secondary
#3D4CB1
accent
#2DD214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D366

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

Preview Lab → · Contrast checker → · Palette generator →

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