#E5CD78#E5CD78

#E5CD78 is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 85.0% C 0.109 H 94.1°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#E5CD78
RGBrgb(229, 205, 120)
HSLhsl(47, 68%, 68%)
HSVhsv(47, 48%, 90%)
CMYKcmyk(0%, 10.5%, 47.6%, 10.2%)
CIE-LABlab(82.74, -2.65, 45.16)
CIE-LCHlch(82.74, 45.23, 93.36°)
OKLaboklab(85.04% -0.0077 0.1084)
OKLCHoklch(85.04% 0.109 94.1)
XYZxyz(57.5364, 61.6790, 26.6402)
Luminance0.6168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD78 #7890E5
analogous
#E59678 #E5CD78 #C6E578
triadic
#E5CD78 #78E5CD #CD78E5
tetradic
#E5CD78 #78E596 #7890E5 #E578C6
square
#E5CD78 #78E596 #7890E5 #E578C6
split-complementary
#E5CD78 #78C6E5 #9678E5
monochromatic
#BE9C25 #DBBA45 #E5CD78 #EFE0AB #F9F3DF

Accessibility & contrast

On white

1.57
#E5CD78 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#E5CD78 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD78
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD78#FFFFFF#000000##000000
##E5CD781.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCA71
Deuteranopia (green-blind)
#E3D17B
Tritanopia (blue-blind)
#F4C1B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cd78;
/* rgb */ color: rgb(229, 205, 120);
/* oklch */ color: oklch(85.0% 0.109 94.1);
Tailwind
colors: {
  custom: {
    50: '#efdca0',
    500: '#e5cd78',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd78;
$custom-light: #efdca0;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd78",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 120
  },
  "hsl": {
    "h": 46.789,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85037,
    "c": 0.10869,
    "h": 94.1
  },
  "luminance": 0.61677
}

Semantic roles & 50–950 ramp

primary
#E5CD78
secondary
#455FBD
accent
#3FD016
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E5CD78

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

Preview Lab → · Contrast checker → · Palette generator →

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