#E2DC66#E2DC66

#E2DC66 is a very light, vivid yellow. Relative luminance 0.683; OKLCH L 87.6% C 0.140 H 106.3°. Best body text is #000000 at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#E2DC66
RGBrgb(226, 220, 102)
HSLhsl(57, 68%, 64%)
HSVhsv(57, 55%, 89%)
CMYKcmyk(0%, 2.7%, 54.9%, 11.4%)
CIE-LABlab(86.16, -12.98, 57.68)
CIE-LCHlch(86.16, 59.12, 102.68°)
OKLaboklab(87.62% -0.0392 0.1342)
OKLCHoklch(87.62% 0.14 106.3)
XYZxyz(59.3573, 68.3163, 22.6274)
Luminance0.6831 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC66 #666CE2
analogous
#E29E66 #E2DC66 #AAE266
triadic
#E2DC66 #66E2DC #DC66E2
tetradic
#E2DC66 #66E29E #666CE2 #E266AA
square
#E2DC66 #66E29E #666CE2 #E266AA
split-complementary
#E2DC66 #66AAE2 #9E66E2
monochromatic
#ADA621 #D8D033 #E2DC66 #ECE899 #F6F4CD

Accessibility & contrast

On white

1.43
#E2DC66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.66
#E2DC66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC66
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC66#FFFFFF#000000##000000
##E2DC661.001.4314.6614.66
#FFFFFF1.431.0021.0021.00
#00000014.6621.001.001.00
##00000014.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD55A
Deuteranopia (green-blind)
#EFDA6C
Tritanopia (blue-blind)
#F1CFC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dc66;
/* rgb */ color: rgb(226, 220, 102);
/* oklch */ color: oklch(87.6% 0.140 106.3);
Tailwind
colors: {
  custom: {
    50: '#eee695',
    500: '#e2dc66',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc66;
$custom-light: #eee695;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc66",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 102
  },
  "hsl": {
    "h": 57.097,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.87624,
    "c": 0.13982,
    "h": 106.3
  },
  "luminance": 0.68314
}

Semantic roles & 50–950 ramp

primary
#E2DC66
secondary
#3E43AE
accent
#1ED015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E2DC66

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

Preview Lab → · Contrast checker → · Palette generator →

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