#E4CD45#E4CD45

#E4CD45 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.4% C 0.152 H 99.5°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#E4CD45
RGBrgb(228, 205, 69)
HSLhsl(51, 75%, 58%)
HSVhsv(51, 70%, 89%)
CMYKcmyk(0%, 10.1%, 69.7%, 10.6%)
CIE-LABlab(82.16, -6.68, 67.26)
CIE-LCHlch(82.16, 67.59, 95.67°)
OKLaboklab(84.39% -0.0249 0.1498)
OKLCHoklch(84.39% 0.152 99.5)
XYZxyz(54.9030, 60.5889, 14.4320)
Luminance0.6059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD45 #455CE4
analogous
#E47D45 #E4CD45 #ABE445
triadic
#E4CD45 #45E4CD #CD45E4
tetradic
#E4CD45 #45E47D #455CE4 #E445AB
square
#E4CD45 #45E47D #455CE4 #E445AB
split-complementary
#E4CD45 #45ABE4 #7D45E4
monochromatic
#988616 #CEB41E #E4CD45 #ECDB7A #F4EAB0

Accessibility & contrast

On white

1.60
#E4CD45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.12
#E4CD45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD45
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD45#FFFFFF#000000##000000
##E4CD451.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C831
Deuteranopia (green-blind)
#E7D04D
Tritanopia (blue-blind)
#F5BEB2
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #e4cd45;
/* rgb */ color: rgb(228, 205, 69);
/* oklch */ color: oklch(84.4% 0.152 99.5);
Tailwind
colors: {
  custom: {
    50: '#f0db81',
    500: '#e4cd45',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd45;
$custom-light: #f0db81;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd45",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 69
  },
  "hsl": {
    "h": 51.321,
    "s": 74.648,
    "l": 58.235
  },
  "oklch": {
    "l": 0.84392,
    "c": 0.1519,
    "h": 99.5
  },
  "luminance": 0.60586
}

Semantic roles & 50–950 ramp

primary
#E4CD45
secondary
#31409C
accent
#52F137
background
#FFFEFB
surface
#FFFBF2
border
#D7D4CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E4CD45

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

Preview Lab → · Contrast checker → · Palette generator →

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