#E5D178#E5D178

#E5D178 is a very light, moderate yellow. Relative luminance 0.636; OKLCH L 85.8% C 0.112 H 97.0°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#E5D178
RGBrgb(229, 209, 120)
HSLhsl(49, 68%, 68%)
HSVhsv(49, 48%, 90%)
CMYKcmyk(0%, 8.7%, 47.6%, 10.2%)
CIE-LABlab(83.77, -4.70, 46.42)
CIE-LCHlch(83.77, 46.65, 95.78°)
OKLaboklab(85.85% -0.0137 0.1112)
OKLCHoklch(85.85% 0.112 97)
XYZxyz(58.5054, 63.6172, 26.9632)
Luminance0.6361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D178 #788CE5
analogous
#E59A78 #E5D178 #C2E578
triadic
#E5D178 #78E5D1 #D178E5
tetradic
#E5D178 #78E59A #788CE5 #E578C2
square
#E5D178 #78E59A #788CE5 #E578C2
split-complementary
#E5D178 #78C2E5 #9A78E5
monochromatic
#BEA225 #DBC045 #E5D178 #EFE2AB #F9F4DF

Accessibility & contrast

On white

1.53
#E5D178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#E5D178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D178
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D178#FFFFFF#000000##000000
##E5D1781.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD71
Deuteranopia (green-blind)
#E6D47C
Tritanopia (blue-blind)
#F4C5BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d178;
/* rgb */ color: rgb(229, 209, 120);
/* oklch */ color: oklch(85.8% 0.112 97.0);
Tailwind
colors: {
  custom: {
    50: '#efdea0',
    500: '#e5d178',
    950: '#000000',
  },
}
SCSS
$custom: #e5d178;
$custom-light: #efdea0;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d178",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 120
  },
  "hsl": {
    "h": 48.991,
    "s": 67.702,
    "l": 68.431
  },
  "oklch": {
    "l": 0.85846,
    "c": 0.11206,
    "h": 97
  },
  "luminance": 0.63615
}

Semantic roles & 50–950 ramp

primary
#E5D178
secondary
#455BBD
accent
#38D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E5D178

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

Preview Lab → · Contrast checker → · Palette generator →

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