#E4D166#E4D166

#E4D166 is a very light, vivid yellow. Relative luminance 0.631; OKLCH L 85.5% C 0.129 H 99.4°. Best body text is #000000 at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#E4D166
RGBrgb(228, 209, 102)
HSLhsl(51, 70%, 65%)
HSVhsv(51, 55%, 89%)
CMYKcmyk(0%, 8.3%, 55.3%, 10.6%)
CIE-LABlab(83.47, -6.63, 54.63)
CIE-LCHlch(83.47, 55.03, 96.92°)
OKLaboklab(85.53% -0.0211 0.1276)
OKLCHoklch(85.53% 0.129 99.4)
XYZxyz(57.1957, 63.0565, 21.7261)
Luminance0.6305 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D166 #6679E4
analogous
#E49266 #E4D166 #B8E466
triadic
#E4D166 #66E4D1 #D166E4
tetradic
#E4D166 #66E492 #6679E4 #E466B8
square
#E4D166 #66E492 #6679E4 #E466B8
split-complementary
#E4D166 #66B8E4 #9266E4
monochromatic
#B09B1F #DBC132 #E4D166 #EDE19A #F6F0CE

Accessibility & contrast

On white

1.54
#E4D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.61
#E4D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D166
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D166#FFFFFF#000000##000000
##E4D1661.001.5413.6113.61
#FFFFFF1.541.0021.0021.00
#00000013.6121.001.001.00
##00000013.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E8D36B
Tritanopia (blue-blind)
#F4C4B9
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4d166;
/* rgb */ color: rgb(228, 209, 102);
/* oklch */ color: oklch(85.5% 0.129 99.4);
Tailwind
colors: {
  custom: {
    50: '#efde95',
    500: '#e4d166',
    950: '#000000',
  },
}
SCSS
$custom: #e4d166;
$custom-light: #efde95;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d166",
  "rgb": {
    "r": 228,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 50.952,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85525,
    "c": 0.12935,
    "h": 99.4
  },
  "luminance": 0.63054
}

Semantic roles & 50–950 ramp

primary
#E4D166
secondary
#3D4EB1
accent
#30D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D166

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

Preview Lab → · Contrast checker → · Palette generator →

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