#E4CD66#E4CD66

#E4CD66 is a very light, vivid yellow. Relative luminance 0.611; OKLCH L 84.7% C 0.126 H 96.9°. Best body text is #000000 at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#E4CD66
RGBrgb(228, 205, 102)
HSLhsl(49, 70%, 65%)
HSVhsv(49, 55%, 89%)
CMYKcmyk(0%, 10.1%, 55.3%, 10.6%)
CIE-LABlab(82.44, -4.59, 53.44)
CIE-LCHlch(82.44, 53.64, 94.91°)
OKLaboklab(84.71% -0.0152 0.125)
OKLCHoklch(84.71% 0.126 96.9)
XYZxyz(56.2266, 61.1183, 21.4031)
Luminance0.6112 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD66 #667DE4
analogous
#E48E66 #E4CD66 #BCE466
triadic
#E4CD66 #66E4CD #CD66E4
tetradic
#E4CD66 #66E48E #667DE4 #E466BC
square
#E4CD66 #66E48E #667DE4 #E466BC
split-complementary
#E4CD66 #66BCE4 #8E66E4
monochromatic
#B0961F #DBBC32 #E4CD66 #EDDE9A #F6EFCE

Accessibility & contrast

On white

1.59
#E4CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.22
#E4CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD66
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD66#FFFFFF#000000##000000
##E4CD661.001.5913.2213.22
#FFFFFF1.591.0021.0021.00
#00000013.2221.001.001.00
##00000013.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC95C
Deuteranopia (green-blind)
#E5D06B
Tritanopia (blue-blind)
#F4C0B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd66;
/* rgb */ color: rgb(228, 205, 102);
/* oklch */ color: oklch(84.7% 0.126 96.9);
Tailwind
colors: {
  custom: {
    50: '#efdc94',
    500: '#e4cd66',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd66;
$custom-light: #efdc94;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd66",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 49.048,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.8471,
    "c": 0.12596,
    "h": 96.9
  },
  "luminance": 0.61116
}

Semantic roles & 50–950 ramp

primary
#E4CD66
secondary
#3D52B1
accent
#36D214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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