#E7DC48#E7DC48

#E7DC48 is a very light, vivid yellow. Relative luminance 0.686; OKLCH L 87.8% C 0.162 H 105.1°. Best body text is #000000 at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#E7DC48
RGBrgb(231, 220, 72)
HSLhsl(56, 77%, 59%)
HSVhsv(56, 69%, 91%)
CMYKcmyk(0%, 4.8%, 68.8%, 9.4%)
CIE-LABlab(86.33, -12.82, 70.38)
CIE-LCHlch(86.33, 71.53, 100.32°)
OKLaboklab(87.77% -0.0422 0.1568)
OKLCHoklch(87.77% 0.162 105.1)
XYZxyz(59.7203, 68.6454, 16.2338)
Luminance0.6864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7DC48 #4853E7
analogous
#E78D48 #E7DC48 #A3E748
triadic
#E7DC48 #48E7DC #DC48E7
tetradic
#E7DC48 #48E78D #4853E7 #E748A3
square
#E7DC48 #48E78D #4853E7 #E748A3
split-complementary
#E7DC48 #48A3E7 #8D48E7
monochromatic
#A09615 #D6C91C #E7DC48 #EEE67E #F5F1B4

Accessibility & contrast

On white

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

On black

14.73
#E7DC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7DC48
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7DC48#FFFFFF#000000##000000
##E7DC481.001.4314.7314.73
#FFFFFF1.431.0021.0021.00
#00000014.7321.001.001.00
##00000014.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD431
Deuteranopia (green-blind)
#F3DB52
Tritanopia (blue-blind)
#F8CDBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e7dc48;
/* rgb */ color: rgb(231, 220, 72);
/* oklch */ color: oklch(87.8% 0.162 105.1);
Tailwind
colors: {
  custom: {
    50: '#f2e684',
    500: '#e7dc48',
    950: '#000000',
  },
}
SCSS
$custom: #e7dc48;
$custom-light: #f2e684;
$custom-dark: #000000;
JSON
{
  "hex": "#e7dc48",
  "rgb": {
    "r": 231,
    "g": 220,
    "b": 72
  },
  "hsl": {
    "h": 55.849,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.87774,
    "c": 0.16241,
    "h": 105.1
  },
  "luminance": 0.68643
}

Semantic roles & 50–950 ramp

primary
#E7DC48
secondary
#3139A2
accent
#42F334
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E7DC48

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

Preview Lab → · Contrast checker → · Palette generator →

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