#E2DC4C#E2DC4C

#E2DC4C is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.4% C 0.160 H 107.0°. Best body text is #000000 at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#E2DC4C
RGBrgb(226, 220, 76)
HSLhsl(58, 72%, 59%)
HSVhsv(58, 66%, 89%)
CMYKcmyk(0%, 2.7%, 66.4%, 11.4%)
CIE-LABlab(85.95, -14.68, 68.35)
CIE-LCHlch(85.95, 69.91, 102.12°)
OKLaboklab(87.38% -0.0468 0.1534)
OKLCHoklch(87.38% 0.16 107)
XYZxyz(58.2639, 67.8789, 16.8689)
Luminance0.6788 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC4C #4C52E2
analogous
#E2914C #E2DC4C #9DE24C
triadic
#E2DC4C #4CE2DC #DC4CE2
tetradic
#E2DC4C #4CE291 #4C52E2 #E24C9D
square
#E2DC4C #4CE291 #4C52E2 #E24C9D
split-complementary
#E2DC4C #4C9DE2 #914CE2
monochromatic
#9B9519 #CFC822 #E2DC4C #EBE681 #F3F1B5

Accessibility & contrast

On white

1.44
#E2DC4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.58
#E2DC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC4C
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC4C#FFFFFF#000000##000000
##E2DC4C1.001.4414.5814.58
#FFFFFF1.441.0021.0021.00
#00000014.5821.001.001.00
##00000014.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED437
Deuteranopia (green-blind)
#F1DA55
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc4c;
/* rgb */ color: rgb(226, 220, 76);
/* oklch */ color: oklch(87.4% 0.160 107.0);
Tailwind
colors: {
  custom: {
    50: '#efe686',
    500: '#e2dc4c',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc4c;
$custom-light: #efe686;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc4c",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 76
  },
  "hsl": {
    "h": 57.6,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.87379,
    "c": 0.16033,
    "h": 107
  },
  "luminance": 0.67877
}

Semantic roles & 50–950 ramp

primary
#E2DC4C
secondary
#34389E
accent
#40EF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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