#E2DC4A#E2DC4A

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

Color values

HEX#E2DC4A
RGBrgb(226, 220, 74)
HSLhsl(58, 72%, 59%)
HSVhsv(58, 67%, 89%)
CMYKcmyk(0%, 2.7%, 67.3%, 11.4%)
CIE-LABlab(85.93, -14.79, 69.10)
CIE-LCHlch(85.93, 70.66, 102.08°)
OKLaboklab(87.36% -0.0473 0.1546)
OKLCHoklch(87.36% 0.162 107)
XYZxyz(58.1954, 67.8515, 16.5084)
Luminance0.6785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC4A #4A50E2
analogous
#E2904A #E2DC4A #9CE24A
triadic
#E2DC4A #4AE2DC #DC4AE2
tetradic
#E2DC4A #4AE290 #4A50E2 #E24A9C
square
#E2DC4A #4AE290 #4A50E2 #E24A9C
split-complementary
#E2DC4A #4A9CE2 #904AE2
monochromatic
#999419 #CEC721 #E2DC4A #EAE67F #F3F0B3

Accessibility & contrast

On white

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

On black

14.57
#E2DC4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC4A
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC4A#FFFFFF#000000##000000
##E2DC4A1.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2dc4a;
/* rgb */ color: rgb(226, 220, 74);
/* oklch */ color: oklch(87.4% 0.162 107.0);
Tailwind
colors: {
  custom: {
    50: '#efe685',
    500: '#e2dc4a',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc4a;
$custom-light: #efe685;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc4a",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 74
  },
  "hsl": {
    "h": 57.632,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.87364,
    "c": 0.16168,
    "h": 107
  },
  "luminance": 0.6785
}

Semantic roles & 50–950 ramp

primary
#E2DC4A
secondary
#33389D
accent
#40EF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2DC4A

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

Preview Lab → · Contrast checker → · Palette generator →

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