#E2DD74#E2DD74

#E2DD74 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.128 H 106.3°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E2DD74
RGBrgb(226, 221, 116)
HSLhsl(57, 65%, 67%)
HSVhsv(57, 49%, 89%)
CMYKcmyk(0%, 2.2%, 48.7%, 11.4%)
CIE-LABlab(86.58, -12.33, 51.69)
CIE-LCHlch(86.58, 53.14, 103.41°)
OKLaboklab(88% -0.0359 0.1226)
OKLCHoklch(88% 0.128 106.3)
XYZxyz(60.3743, 69.1443, 26.6854)
Luminance0.6914 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DD74 #7479E2
analogous
#E2A674 #E2DD74 #B0E274
triadic
#E2DD74 #74E2DD #DD74E2
tetradic
#E2DD74 #74E2A6 #7479E2 #E274B0
square
#E2DD74 #74E2A6 #7479E2 #E274B0
split-complementary
#E2DD74 #74B0E2 #A674E2
monochromatic
#B6AF26 #D7D141 #E2DD74 #EDE9A7 #F7F6D9

Accessibility & contrast

On white

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

On black

14.83
#E2DD74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DD74
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DD74#FFFFFF#000000##000000
##E2DD741.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66B
Deuteranopia (green-blind)
#EFDB79
Tritanopia (blue-blind)
#F0D1C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2dd74;
/* rgb */ color: rgb(226, 221, 116);
/* oklch */ color: oklch(88.0% 0.128 106.3);
Tailwind
colors: {
  custom: {
    50: '#ede79e',
    500: '#e2dd74',
    950: '#000000',
  },
}
SCSS
$custom: #e2dd74;
$custom-light: #ede79e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dd74",
  "rgb": {
    "r": 226,
    "g": 221,
    "b": 116
  },
  "hsl": {
    "h": 57.273,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.87999,
    "c": 0.12773,
    "h": 106.3
  },
  "luminance": 0.69143
}

Semantic roles & 50–950 ramp

primary
#E2DD74
secondary
#4449B6
accent
#20CD18
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17160F
muted
#858480

Preview Lab

Preview with #E2DD74

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

Preview Lab → · Contrast checker → · Palette generator →

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