#E4D866#E4D866

#E4D866 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 87.0% C 0.136 H 103.3°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#E4D866
RGBrgb(228, 216, 102)
HSLhsl(54, 70%, 65%)
HSVhsv(54, 55%, 89%)
CMYKcmyk(0%, 5.3%, 55.3%, 10.6%)
CIE-LABlab(85.28, -10.17, 56.72)
CIE-LCHlch(85.28, 57.62, 100.16°)
OKLaboklab(86.96% -0.0313 0.1321)
OKLCHoklch(86.96% 0.136 103.3)
XYZxyz(58.9510, 66.5671, 22.3112)
Luminance0.6656 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D866 #6672E4
analogous
#E49966 #E4D866 #B1E466
triadic
#E4D866 #66E4D8 #D866E4
tetradic
#E4D866 #66E499 #6672E4 #E466B1
square
#E4D866 #66E499 #6672E4 #E466B1
split-complementary
#E4D866 #66B1E4 #9966E4
monochromatic
#B0A31F #DBCB32 #E4D866 #EDE59A #F6F3CE

Accessibility & contrast

On white

1.47
#E4D866 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#E4D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D866
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D866#FFFFFF#000000##000000
##E4D8661.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#EDD86C
Tritanopia (blue-blind)
#F3CBBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d866;
/* rgb */ color: rgb(228, 216, 102);
/* oklch */ color: oklch(87.0% 0.136 103.3);
Tailwind
colors: {
  custom: {
    50: '#efe395',
    500: '#e4d866',
    950: '#000000',
  },
}
SCSS
$custom: #e4d866;
$custom-light: #efe395;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d866",
  "rgb": {
    "r": 228,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 54.286,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.86964,
    "c": 0.13577,
    "h": 103.3
  },
  "luminance": 0.66565
}

Semantic roles & 50–950 ramp

primary
#E4D866
secondary
#3D48B1
accent
#26D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D866

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

Preview Lab → · Contrast checker → · Palette generator →

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