#E2CD66#E2CD66

#E2CD66 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.5% C 0.126 H 98.0°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#E2CD66
RGBrgb(226, 205, 102)
HSLhsl(50, 68%, 64%)
HSVhsv(50, 55%, 89%)
CMYKcmyk(0%, 9.3%, 54.9%, 11.4%)
CIE-LABlab(82.27, -5.41, 53.19)
CIE-LCHlch(82.27, 53.47, 95.81°)
OKLaboklab(84.53% -0.0175 0.1245)
OKLCHoklch(84.53% 0.126 98)
XYZxyz(55.5956, 60.7930, 21.3735)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2CD66 #667BE2
analogous
#E28F66 #E2CD66 #B9E266
triadic
#E2CD66 #66E2CD #CD66E2
tetradic
#E2CD66 #66E28F #667BE2 #E266B9
square
#E2CD66 #66E28F #667BE2 #E266B9
split-complementary
#E2CD66 #66B9E2 #8F66E2
monochromatic
#AD9521 #D8BC33 #E2CD66 #ECDE99 #F6EFCD

Accessibility & contrast

On white

1.60
#E2CD66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#E2CD66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2CD66
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2CD66#FFFFFF#000000##000000
##E2CD661.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85C
Deuteranopia (green-blind)
#E4D06B
Tritanopia (blue-blind)
#F2C0B6
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e2cd66;
/* rgb */ color: rgb(226, 205, 102);
/* oklch */ color: oklch(84.5% 0.126 98.0);
Tailwind
colors: {
  custom: {
    50: '#eedc94',
    500: '#e2cd66',
    950: '#000000',
  },
}
SCSS
$custom: #e2cd66;
$custom-light: #eedc94;
$custom-dark: #000000;
JSON
{
  "hex": "#e2cd66",
  "rgb": {
    "r": 226,
    "g": 205,
    "b": 102
  },
  "hsl": {
    "h": 49.839,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.8453,
    "c": 0.12576,
    "h": 98
  },
  "luminance": 0.60791
}

Semantic roles & 50–950 ramp

primary
#E2CD66
secondary
#3E51AE
accent
#35D015
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2CD66

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

Preview Lab → · Contrast checker → · Palette generator →

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