#E2D666#E2D666

#E2D666 is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.4% C 0.134 H 103.2°. Best body text is #000000 at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#E2D666
RGBrgb(226, 214, 102)
HSLhsl(54, 68%, 64%)
HSVhsv(54, 55%, 89%)
CMYKcmyk(0%, 5.3%, 54.9%, 11.4%)
CIE-LABlab(84.60, -9.98, 55.89)
CIE-LCHlch(84.60, 56.77, 100.12°)
OKLaboklab(86.38% -0.0306 0.1304)
OKLCHoklch(86.38% 0.134 103.2)
XYZxyz(57.8107, 65.2232, 22.1119)
Luminance0.6522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D666 #6672E2
analogous
#E29866 #E2D666 #B0E266
triadic
#E2D666 #66E2D6 #D666E2
tetradic
#E2D666 #66E298 #6672E2 #E266B0
square
#E2D666 #66E298 #6672E2 #E266B0
split-complementary
#E2D666 #66B0E2 #9866E2
monochromatic
#AD9F21 #D8C833 #E2D666 #ECE499 #F6F2CD

Accessibility & contrast

On white

1.50
#E2D666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.04
#E2D666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D666
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D666#FFFFFF#000000##000000
##E2D6661.001.5014.0414.04
#FFFFFF1.501.0021.0021.00
#00000014.0421.001.001.00
##00000014.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D05B
Deuteranopia (green-blind)
#EBD66C
Tritanopia (blue-blind)
#F1C9BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d666;
/* rgb */ color: rgb(226, 214, 102);
/* oklch */ color: oklch(86.4% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#eee295',
    500: '#e2d666',
    950: '#000000',
  },
}
SCSS
$custom: #e2d666;
$custom-light: #eee295;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d666",
  "rgb": {
    "r": 226,
    "g": 214,
    "b": 102
  },
  "hsl": {
    "h": 54.194,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.86379,
    "c": 0.13391,
    "h": 103.2
  },
  "luminance": 0.65221
}

Semantic roles & 50–950 ramp

primary
#E2D666
secondary
#3E49AE
accent
#27D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D666

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

Preview Lab → · Contrast checker → · Palette generator →

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