#E2DC62#E2DC62

#E2DC62 is a very light, vivid yellow. Relative luminance 0.682; OKLCH L 87.6% C 0.143 H 106.4°. Best body text is #000000 at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#E2DC62
RGBrgb(226, 220, 98)
HSLhsl(57, 69%, 64%)
HSVhsv(57, 57%, 89%)
CMYKcmyk(0%, 2.7%, 56.6%, 11.4%)
CIE-LABlab(86.13, -13.28, 59.42)
CIE-LCHlch(86.13, 60.89, 102.60°)
OKLaboklab(87.58% -0.0405 0.1375)
OKLCHoklch(87.58% 0.143 106.4)
XYZxyz(59.1637, 68.2388, 21.6078)
Luminance0.6824 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DC62 #6268E2
analogous
#E29C62 #E2DC62 #A8E262
triadic
#E2DC62 #62E2DC #DC62E2
tetradic
#E2DC62 #62E29C #6268E2 #E262A8
square
#E2DC62 #62E29C #6268E2 #E262A8
split-complementary
#E2DC62 #62A8E2 #9C62E2
monochromatic
#AAA41F #D8D02E #E2DC62 #ECE896 #F5F3C9

Accessibility & contrast

On white

1.43
#E2DC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#E2DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DC62
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DC62#FFFFFF#000000##000000
##E2DC621.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F0DA69
Tritanopia (blue-blind)
#F1CFC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e2dc62;
/* rgb */ color: rgb(226, 220, 98);
/* oklch */ color: oklch(87.6% 0.143 106.4);
Tailwind
colors: {
  custom: {
    50: '#eee693',
    500: '#e2dc62',
    950: '#000000',
  },
}
SCSS
$custom: #e2dc62;
$custom-light: #eee693;
$custom-dark: #000000;
JSON
{
  "hex": "#e2dc62",
  "rgb": {
    "r": 226,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 57.188,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.8758,
    "c": 0.14333,
    "h": 106.4
  },
  "luminance": 0.68237
}

Semantic roles & 50–950 ramp

primary
#E2DC62
secondary
#3C41AC
accent
#1ED115
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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