#E2D866#E2D866

#E2D866 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.136 H 104.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E2D866
RGBrgb(226, 216, 102)
HSLhsl(55, 68%, 64%)
HSVhsv(55, 55%, 89%)
CMYKcmyk(0%, 4.4%, 54.9%, 11.4%)
CIE-LABlab(85.12, -10.98, 56.49)
CIE-LCHlch(85.12, 57.54, 101.00°)
OKLaboklab(86.79% -0.0335 0.1317)
OKLCHoklch(86.79% 0.136 104.3)
XYZxyz(58.3200, 66.2417, 22.2817)
Luminance0.6624 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D866 #6670E2
analogous
#E29A66 #E2D866 #AEE266
triadic
#E2D866 #66E2D8 #D866E2
tetradic
#E2D866 #66E29A #6670E2 #E266AE
square
#E2D866 #66E29A #6670E2 #E266AE
split-complementary
#E2D866 #66AEE2 #9A66E2
monochromatic
#ADA221 #D8CB33 #E2D866 #ECE599 #F6F2CD

Accessibility & contrast

On white

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

On black

14.25
#E2D866 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D866
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D866#FFFFFF#000000##000000
##E2D8661.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D15B
Deuteranopia (green-blind)
#ECD76C
Tritanopia (blue-blind)
#F1CBBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d866;
/* rgb */ color: rgb(226, 216, 102);
/* oklch */ color: oklch(86.8% 0.136 104.3);
Tailwind
colors: {
  custom: {
    50: '#eee395',
    500: '#e2d866',
    950: '#000000',
  },
}
SCSS
$custom: #e2d866;
$custom-light: #eee395;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d866",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 102
  },
  "hsl": {
    "h": 55.161,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86793,
    "c": 0.13584,
    "h": 104.3
  },
  "luminance": 0.6624
}

Semantic roles & 50–950 ramp

primary
#E2D866
secondary
#3E47AE
accent
#24D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D866

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

Preview Lab → · Contrast checker → · Palette generator →

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