#E8DC62#E8DC62

#E8DC62 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 88.1% C 0.143 H 103.7°. Best body text is #000000 at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#E8DC62
RGBrgb(232, 220, 98)
HSLhsl(55, 74%, 65%)
HSVhsv(55, 58%, 91%)
CMYKcmyk(0%, 5.2%, 57.8%, 9%)
CIE-LABlab(86.62, -10.84, 60.11)
CIE-LCHlch(86.62, 61.07, 100.22°)
OKLaboklab(88.09% -0.0338 0.1388)
OKLCHoklch(88.09% 0.143 103.7)
XYZxyz(61.0786, 69.2262, 21.6975)
Luminance0.6922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC62 #626EE8
analogous
#E89962 #E8DC62 #B1E862
triadic
#E8DC62 #62E8DC #DC62E8
tetradic
#E8DC62 #62E899 #626EE8 #E862B1
square
#E8DC62 #62E899 #626EE8 #E862B1
split-complementary
#E8DC62 #62B1E8 #9962E8
monochromatic
#B5A71B #E0D02D #E8DC62 #F0E897 #F8F4CD

Accessibility & contrast

On white

1.41
#E8DC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.84
#E8DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC62
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC62#FFFFFF#000000##000000
##E8DC621.001.4114.8414.84
#FFFFFF1.411.0021.0021.00
#00000014.8421.001.001.00
##00000014.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED555
Deuteranopia (green-blind)
#F2DC68
Tritanopia (blue-blind)
#F8CFC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e8dc62;
/* rgb */ color: rgb(232, 220, 98);
/* oklch */ color: oklch(88.1% 0.143 103.7);
Tailwind
colors: {
  custom: {
    50: '#f2e693',
    500: '#e8dc62',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc62;
$custom-light: #f2e693;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc62",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 54.627,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.88089,
    "c": 0.1429,
    "h": 103.7
  },
  "luminance": 0.69224
}

Semantic roles & 50–950 ramp

primary
#E8DC62
secondary
#3944B5
accent
#21D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E8DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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