#E2DD6C#E2DD6C

#E2DD6C is a very light, vivid yellow. Relative luminance 0.690; OKLCH L 87.9% C 0.135 H 106.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).

Color values

HEX#E2DD6C
RGBrgb(226, 221, 108)
HSLhsl(57, 67%, 65%)
HSVhsv(57, 52%, 89%)
CMYKcmyk(0%, 2.2%, 52.2%, 11.4%)
CIE-LABlab(86.49, -13.01, 55.32)
CIE-LCHlch(86.49, 56.83, 103.23°)
OKLaboklab(87.9% -0.0386 0.1298)
OKLCHoklch(87.9% 0.135 106.6)
XYZxyz(59.9289, 68.9661, 24.3394)
Luminance0.6896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD6C #6C71E2
analogous
#E2A26C #E2DD6C #ACE26C
triadic
#E2DD6C #6CE2DD #DD6CE2
tetradic
#E2DD6C #6CE2A2 #6C71E2 #E26CAC
square
#E2DD6C #6CE2A2 #6C71E2 #E26CAC
split-complementary
#E2DD6C #6CACE2 #A26CE2
monochromatic
#B1AB23 #D8D139 #E2DD6C #ECE99F #F6F5D2

Accessibility & contrast

On white

1.42
#E2DD6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.79
#E2DD6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD6C
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD6C#FFFFFF#000000##000000
##E2DD6C1.001.4214.7914.79
#FFFFFF1.421.0021.0021.00
#00000014.7921.001.001.00
##00000014.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD661
Deuteranopia (green-blind)
#F0DB72
Tritanopia (blue-blind)
#F0D1C4
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e2dd6c;
/* rgb */ color: rgb(226, 221, 108);
/* oklch */ color: oklch(87.9% 0.135 106.6);
Tailwind
colors: {
  custom: {
    50: '#ede799',
    500: '#e2dd6c',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd6c;
$custom-light: #ede799;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd6c",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 108
  },
  "hsl": {
    "h": 57.458,
    "s": 67.045,
    "l": 65.49
  },
  "oklch": {
    "l": 0.879,
    "c": 0.13539,
    "h": 106.6
  },
  "luminance": 0.68964
}

Semantic roles & 50–950 ramp

primary
#E2DD6C
secondary
#4045B2
accent
#1ECF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2DD6C

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

Preview Lab → · Contrast checker → · Palette generator →

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