#E7DC62#E7DC62

#E7DC62 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 88.0% C 0.143 H 104.2°. Best body text is #000000 at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#E7DC62
RGBrgb(231, 220, 98)
HSLhsl(55, 73%, 65%)
HSVhsv(55, 58%, 91%)
CMYKcmyk(0%, 4.8%, 57.6%, 9.4%)
CIE-LABlab(86.53, -11.25, 59.99)
CIE-LCHlch(86.53, 61.03, 100.62°)
OKLaboklab(88% -0.0349 0.1386)
OKLCHoklch(88% 0.143 104.2)
XYZxyz(60.7548, 69.0593, 21.6824)
Luminance0.6906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC62 #626DE7
analogous
#E79A62 #E7DC62 #AFE762
triadic
#E7DC62 #62E7DC #DC62E7
tetradic
#E7DC62 #62E79A #626DE7 #E762AF
square
#E7DC62 #62E79A #626DE7 #E762AF
split-complementary
#E7DC62 #62AFE7 #9A62E7
monochromatic
#B3A71B #DFD02D #E7DC62 #EFE897 #F7F4CC

Accessibility & contrast

On white

1.42
#E7DC62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.81
#E7DC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC62
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC62#FFFFFF#000000##000000
##E7DC621.001.4214.8114.81
#FFFFFF1.421.0021.0021.00
#00000014.8121.001.001.00
##00000014.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD555
Deuteranopia (green-blind)
#F1DB68
Tritanopia (blue-blind)
#F7CFC1
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dc62;
/* rgb */ color: rgb(231, 220, 98);
/* oklch */ color: oklch(88.0% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#f1e693',
    500: '#e7dc62',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc62;
$custom-light: #f1e693;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc62",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 98
  },
  "hsl": {
    "h": 55.038,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.88003,
    "c": 0.14295,
    "h": 104.2
  },
  "luminance": 0.69057
}

Semantic roles & 50–950 ramp

primary
#E7DC62
secondary
#3A44B4
accent
#20D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E7DC62

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

Preview Lab → · Contrast checker → · Palette generator →

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