#E4D45C#E4D45C

#E4D45C is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.0% C 0.141 H 101.8°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#E4D45C
RGBrgb(228, 212, 92)
HSLhsl(53, 72%, 63%)
HSVhsv(53, 60%, 89%)
CMYKcmyk(0%, 7%, 59.6%, 10.6%)
CIE-LABlab(84.15, -8.88, 59.91)
CIE-LCHlch(84.15, 60.56, 98.43°)
OKLaboklab(86.03% -0.0287 0.1378)
OKLCHoklch(86.03% 0.141 101.8)
XYZxyz(57.4723, 64.3559, 19.5177)
Luminance0.6435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D45C #5C6CE4
analogous
#E4905C #E4D45C #B0E45C
triadic
#E4D45C #5CE4D4 #D45CE4
tetradic
#E4D45C #5CE490 #5C6CE4 #E45CB0
square
#E4D45C #5CE490 #5C6CE4 #E45CB0
split-complementary
#E4D45C #5CB0E4 #905CE4
monochromatic
#AA991C #DBC627 #E4D45C #EDE291 #F5F0C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D45C#FFFFFF#000000##000000
##E4D45C1.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)
#E6CE4F
Deuteranopia (green-blind)
#EBD562
Tritanopia (blue-blind)
#F4C6BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d45c;
/* rgb */ color: rgb(228, 212, 92);
/* oklch */ color: oklch(86.0% 0.141 101.8);
Tailwind
colors: {
  custom: {
    50: '#efe08e',
    500: '#e4d45c',
    950: '#000000',
  },
}
SCSS
$custom: #e4d45c;
$custom-light: #efe08e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d45c",
  "rgb": {
    "r": 228,
    "g": 212,
    "b": 92
  },
  "hsl": {
    "h": 52.941,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.86032,
    "c": 0.1407,
    "h": 101.8
  },
  "luminance": 0.64354
}

Semantic roles & 50–950 ramp

primary
#E4D45C
secondary
#3946AB
accent
#29D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D45C

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

Preview Lab → · Contrast checker → · Palette generator →

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