#E7DC73#E7DC73

#E7DC73 is a very light, vivid yellow. Relative luminance 0.694; OKLCH L 88.2% C 0.127 H 103.3°. Best body text is #000000 at 14.88:1 contrast (WCAG AA passes).

Color values

HEX#E7DC73
RGBrgb(231, 220, 115)
HSLhsl(54, 71%, 68%)
HSVhsv(54, 50%, 91%)
CMYKcmyk(0%, 4.8%, 50.2%, 9.4%)
CIE-LABlab(86.71, -9.91, 52.42)
CIE-LCHlch(86.71, 53.35, 100.71°)
OKLaboklab(88.2% -0.0293 0.124)
OKLCHoklch(88.2% 0.127 103.3)
XYZxyz(61.6444, 69.4151, 26.3676)
Luminance0.6941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC73 #737EE7
analogous
#E7A273 #E7DC73 #B8E773
triadic
#E7DC73 #73E7DC #DC73E7
tetradic
#E7DC73 #73E7A2 #737EE7 #E773B8
square
#E7DC73 #73E7A2 #737EE7 #E773B8
split-complementary
#E7DC73 #73B8E7 #A273E7
monochromatic
#BFB021 #DECF3F #E7DC73 #F0E9A7 #F9F6DB

Accessibility & contrast

On white

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

On black

14.88
#E7DC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC73
14.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC73#FFFFFF#000000##000000
##E7DC731.001.4114.8814.88
#FFFFFF1.411.0021.0021.00
#00000014.8821.001.001.00
##00000014.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD66A
Deuteranopia (green-blind)
#F0DC78
Tritanopia (blue-blind)
#F6D0C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e7dc73;
/* rgb */ color: rgb(231, 220, 115);
/* oklch */ color: oklch(88.2% 0.127 103.3);
Tailwind
colors: {
  custom: {
    50: '#f1e69e',
    500: '#e7dc73',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc73;
$custom-light: #f1e69e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc73",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 115
  },
  "hsl": {
    "h": 54.31,
    "s": 70.732,
    "l": 67.843
  },
  "oklch": {
    "l": 0.88199,
    "c": 0.12745,
    "h": 103.3
  },
  "luminance": 0.69413
}

Semantic roles & 50–950 ramp

primary
#E7DC73
secondary
#404CBE
accent
#25D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7DC73

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

Preview Lab → · Contrast checker → · Palette generator →

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