#E1D474#E1D474

#E1D474 is a very light, moderate yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.119 H 101.7°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#E1D474
RGBrgb(225, 212, 116)
HSLhsl(53, 64%, 67%)
HSVhsv(53, 48%, 88%)
CMYKcmyk(0%, 5.8%, 48.4%, 11.8%)
CIE-LABlab(84.15, -8.20, 48.75)
CIE-LCHlch(84.15, 49.44, 99.55°)
OKLaboklab(86.05% -0.024 0.1162)
OKLCHoklch(86.05% 0.119 101.7)
XYZxyz(57.7488, 64.3574, 25.8998)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D474 #7481E1
analogous
#E19E74 #E1D474 #B8E174
triadic
#E1D474 #74E1D4 #D474E1
tetradic
#E1D474 #74E19E #7481E1 #E174B8
square
#E1D474 #74E19E #7481E1 #E174B8
split-complementary
#E1D474 #74B8E1 #9E74E1
monochromatic
#B4A327 #D6C442 #E1D474 #ECE4A6 #F7F3D9

Accessibility & contrast

On white

1.51
#E1D474 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#E1D474 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D474
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D474#FFFFFF#000000##000000
##E1D4741.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CF6C
Deuteranopia (green-blind)
#E8D578
Tritanopia (blue-blind)
#EFC8BD
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e1d474;
/* rgb */ color: rgb(225, 212, 116);
/* oklch */ color: oklch(86.1% 0.119 101.7);
Tailwind
colors: {
  custom: {
    50: '#ece19e',
    500: '#e1d474',
    950: '#000000',
  },
}
SCSS
$custom: #e1d474;
$custom-light: #ece19e;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d474",
  "rgb": {
    "r": 225,
    "g": 212,
    "b": 116
  },
  "hsl": {
    "h": 52.844,
    "s": 64.497,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86054,
    "c": 0.1186,
    "h": 101.7
  },
  "luminance": 0.64355
}

Semantic roles & 50–950 ramp

primary
#E1D474
secondary
#4452B5
accent
#2FCC19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E1D474

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

Preview Lab → · Contrast checker → · Palette generator →

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