#E4D774#E4D774

#E4D774 is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.9% C 0.122 H 101.9°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#E4D774
RGBrgb(228, 215, 116)
HSLhsl(53, 67%, 67%)
HSVhsv(53, 49%, 89%)
CMYKcmyk(0%, 5.7%, 49.1%, 10.6%)
CIE-LABlab(85.18, -8.51, 50.05)
CIE-LCHlch(85.18, 50.77, 99.65°)
OKLaboklab(86.93% -0.025 0.119)
OKLCHoklch(86.93% 0.122 101.9)
XYZxyz(59.4494, 66.3578, 26.1964)
Luminance0.6636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D774 #7481E4
analogous
#E49F74 #E4D774 #B9E474
triadic
#E4D774 #74E4D7 #D774E4
tetradic
#E4D774 #74E49F #7481E4 #E474B9
square
#E4D774 #74E49F #7481E4 #E474B9
split-complementary
#E4D774 #74B9E4 #9F74E4
monochromatic
#BAA824 #DAC841 #E4D774 #EEE6A7 #F8F4DA

Accessibility & contrast

On white

1.47
#E4D774 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#E4D774 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D774
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D774#FFFFFF#000000##000000
##E4D7741.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D16B
Deuteranopia (green-blind)
#EBD778
Tritanopia (blue-blind)
#F2CBC0
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d774;
/* rgb */ color: rgb(228, 215, 116);
/* oklch */ color: oklch(86.9% 0.122 101.9);
Tailwind
colors: {
  custom: {
    50: '#eee39e',
    500: '#e4d774',
    950: '#000000',
  },
}
SCSS
$custom: #e4d774;
$custom-light: #eee39e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d774",
  "rgb": {
    "r": 228,
    "g": 215,
    "b": 116
  },
  "hsl": {
    "h": 53.036,
    "s": 67.47,
    "l": 67.451
  },
  "oklch": {
    "l": 0.86929,
    "c": 0.12156,
    "h": 101.9
  },
  "luminance": 0.66356
}

Semantic roles & 50–950 ramp

primary
#E4D774
secondary
#4350BA
accent
#2CCF16
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D774

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

Preview Lab → · Contrast checker → · Palette generator →

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