#E4D45E#E4D45E

#E4D45E is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.1% C 0.139 H 101.6°. Best body text is #000000 at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#E4D45E
RGBrgb(228, 212, 94)
HSLhsl(53, 71%, 63%)
HSVhsv(53, 59%, 89%)
CMYKcmyk(0%, 7%, 58.8%, 10.6%)
CIE-LABlab(84.17, -8.74, 59.05)
CIE-LCHlch(84.17, 59.69, 98.42°)
OKLaboklab(86.05% -0.028 0.1362)
OKLCHoklch(86.05% 0.139 101.6)
XYZxyz(57.5609, 64.3913, 19.9843)
Luminance0.6439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D45E #5E6EE4
analogous
#E4915E #E4D45E #B1E45E
triadic
#E4D45E #5EE4D4 #D45EE4
tetradic
#E4D45E #5EE491 #5E6EE4 #E45EB1
square
#E4D45E #5EE491 #5E6EE4 #E45EB1
split-complementary
#E4D45E #5EB1E4 #915EE4
monochromatic
#AB9A1D #DBC62A #E4D45E #EDE292 #F6F0C7

Accessibility & contrast

On white

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

On black

13.88
#E4D45E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D45E
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D45E#FFFFFF#000000##000000
##E4D45E1.001.5113.8813.88
#FFFFFF1.511.0021.0021.00
#00000013.8821.001.001.00
##00000013.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CE51
Deuteranopia (green-blind)
#EAD564
Tritanopia (blue-blind)
#F4C7BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e4d45e;
/* rgb */ color: rgb(228, 212, 94);
/* oklch */ color: oklch(86.1% 0.139 101.6);
Tailwind
colors: {
  custom: {
    50: '#efe090',
    500: '#e4d45e',
    950: '#000000',
  },
}
SCSS
$custom: #e4d45e;
$custom-light: #efe090;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d45e",
  "rgb": {
    "r": 228,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 52.836,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86053,
    "c": 0.13903,
    "h": 101.6
  },
  "luminance": 0.64389
}

Semantic roles & 50–950 ramp

primary
#E4D45E
secondary
#3A47AD
accent
#29D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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