#E2DC4D#E2DC4D

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

Color values

HEX#E2DC4D
RGBrgb(226, 220, 77)
HSLhsl(58, 72%, 59%)
HSVhsv(58, 66%, 89%)
CMYKcmyk(0%, 2.7%, 65.9%, 11.4%)
CIE-LABlab(85.95, -14.63, 67.97)
CIE-LCHlch(85.95, 69.53, 102.14°)
OKLaboklab(87.39% -0.0465 0.1527)
OKLCHoklch(87.39% 0.16 106.9)
XYZxyz(58.2989, 67.8929, 17.0534)
Luminance0.6789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC4D #4D53E2
analogous
#E2924D #E2DC4D #9EE24D
triadic
#E2DC4D #4DE2DC #DC4DE2
tetradic
#E2DC4D #4DE292 #4D53E2 #E24D9E
square
#E2DC4D #4DE292 #4D53E2 #E24D9E
split-complementary
#E2DC4D #4D9EE2 #924DE2
monochromatic
#9B9619 #D0C922 #E2DC4D #EBE682 #F3F1B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DC4D#FFFFFF#000000##000000
##E2DC4D1.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)
#EED439
Deuteranopia (green-blind)
#F1DA56
Tritanopia (blue-blind)
#F2CEBF
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc4d;
/* rgb */ color: rgb(226, 220, 77);
/* oklch */ color: oklch(87.4% 0.160 106.9);
Tailwind
colors: {
  custom: {
    50: '#efe686',
    500: '#e2dc4d',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc4d;
$custom-light: #efe686;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc4d",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 77
  },
  "hsl": {
    "h": 57.584,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.87387,
    "c": 0.15964,
    "h": 106.9
  },
  "luminance": 0.67891
}

Semantic roles & 50–950 ramp

primary
#E2DC4D
secondary
#34399F
accent
#40EF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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