#E4CD5A#E4CD5A

#E4CD5A is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.6% C 0.136 H 98.1°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#E4CD5A
RGBrgb(228, 205, 90)
HSLhsl(50, 72%, 62%)
HSVhsv(50, 61%, 89%)
CMYKcmyk(0%, 10.1%, 60.5%, 10.6%)
CIE-LABlab(82.32, -5.46, 58.76)
CIE-LCHlch(82.32, 59.02, 95.31°)
OKLaboklab(84.58% -0.0191 0.1351)
OKLCHoklch(84.58% 0.136 98.1)
XYZxyz(55.6740, 60.8973, 18.4927)
Luminance0.6089 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD5A #5A71E4
analogous
#E4885A #E4CD5A #B6E45A
triadic
#E4CD5A #5AE4CD #CD5AE4
tetradic
#E4CD5A #5AE488 #5A71E4 #E45AB6
square
#E4CD5A #5AE488 #5A71E4 #E45AB6
split-complementary
#E4CD5A #5AB6E4 #885AE4
monochromatic
#A8911C #DBBD25 #E4CD5A #EDDD8F #F5EDC3

Accessibility & contrast

On white

1.59
#E4CD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.18
#E4CD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD5A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD5A#FFFFFF#000000##000000
##E4CD5A1.001.5913.1813.18
#FFFFFF1.591.0021.0021.00
#00000013.1821.001.001.00
##00000013.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC84D
Deuteranopia (green-blind)
#E5D060
Tritanopia (blue-blind)
#F5BFB4
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #e4cd5a;
/* rgb */ color: rgb(228, 205, 90);
/* oklch */ color: oklch(84.6% 0.136 98.1);
Tailwind
colors: {
  custom: {
    50: '#f0dc8d',
    500: '#e4cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd5a;
$custom-light: #f0dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd5a",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 50,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.84577,
    "c": 0.13641,
    "h": 98.1
  },
  "luminance": 0.60895
}

Semantic roles & 50–950 ramp

primary
#E4CD5A
secondary
#384BAA
accent
#32D412
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E4CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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