#E2D166#E2D166

#E2D166 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.3% C 0.129 H 100.4°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#E2D166
RGBrgb(226, 209, 102)
HSLhsl(52, 68%, 64%)
HSVhsv(52, 55%, 89%)
CMYKcmyk(0%, 7.5%, 54.9%, 11.4%)
CIE-LABlab(83.30, -7.45, 54.39)
CIE-LCHlch(83.30, 54.90, 97.80°)
OKLaboklab(85.35% -0.0233 0.1271)
OKLCHoklch(85.35% 0.129 100.4)
XYZxyz(56.5647, 62.7312, 21.6966)
Luminance0.6273 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D166 #6677E2
analogous
#E29366 #E2D166 #B5E266
triadic
#E2D166 #66E2D1 #D166E2
tetradic
#E2D166 #66E293 #6677E2 #E266B5
square
#E2D166 #66E293 #6677E2 #E266B5
split-complementary
#E2D166 #66B5E2 #9366E2
monochromatic
#AD9A21 #D8C233 #E2D166 #ECE099 #F6F0CD

Accessibility & contrast

On white

1.55
#E2D166 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#E2D166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D166
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D166#FFFFFF#000000##000000
##E2D1661.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC5C
Deuteranopia (green-blind)
#E7D36B
Tritanopia (blue-blind)
#F1C4B9
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d166;
/* rgb */ color: rgb(226, 209, 102);
/* oklch */ color: oklch(85.3% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#eede95',
    500: '#e2d166',
    950: '#000000',
  },
}
SCSS
$custom: #e2d166;
$custom-light: #eede95;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d166",
  "rgb": {
    "r": 226,
    "g": 209,
    "b": 102
  },
  "hsl": {
    "h": 51.774,
    "s": 68.132,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85349,
    "c": 0.12927,
    "h": 100.4
  },
  "luminance": 0.62729
}

Semantic roles & 50–950 ramp

primary
#E2D166
secondary
#3E4DAE
accent
#2FD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D166

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

Preview Lab → · Contrast checker → · Palette generator →

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