#E4D278#E4D278

#E4D278 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.113 H 98.3°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#E4D278
RGBrgb(228, 210, 120)
HSLhsl(50, 67%, 68%)
HSVhsv(50, 47%, 89%)
CMYKcmyk(0%, 7.9%, 47.4%, 10.6%)
CIE-LABlab(83.94, -5.61, 46.61)
CIE-LCHlch(83.94, 46.94, 96.87°)
OKLaboklab(85.96% -0.0163 0.1117)
OKLCHoklch(85.96% 0.113 98.3)
XYZxyz(58.4333, 63.9453, 27.0303)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D278 #788AE4
analogous
#E49C78 #E4D278 #C0E478
triadic
#E4D278 #78E4D2 #D278E4
tetradic
#E4D278 #78E49C #788AE4 #E478C0
square
#E4D278 #78E49C #788AE4 #E478C0
split-complementary
#E4D278 #78C0E4 #9C78E4
monochromatic
#BCA326 #DAC145 #E4D278 #EEE3AB #F8F4DE

Accessibility & contrast

On white

1.52
#E4D278 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#E4D278 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D278
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D278#FFFFFF#000000##000000
##E4D2781.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CE70
Deuteranopia (green-blind)
#E7D47C
Tritanopia (blue-blind)
#F2C6BD
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e4d278;
/* rgb */ color: rgb(228, 210, 120);
/* oklch */ color: oklch(86.0% 0.113 98.3);
Tailwind
colors: {
  custom: {
    50: '#eedfa1',
    500: '#e4d278',
    950: '#000000',
  },
}
SCSS
$custom: #e4d278;
$custom-light: #eedfa1;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d278",
  "rgb": {
    "r": 228,
    "g": 210,
    "b": 120
  },
  "hsl": {
    "h": 50,
    "s": 66.667,
    "l": 68.235
  },
  "oklch": {
    "l": 0.85961,
    "c": 0.11284,
    "h": 98.3
  },
  "luminance": 0.63943
}

Semantic roles & 50–950 ramp

primary
#E4D278
secondary
#4559BB
accent
#36CF17
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D278

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

Preview Lab → · Contrast checker → · Palette generator →

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