#E4D05C#E4D05C

#E4D05C is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 85.2% C 0.137 H 99.6°. Best body text is #000000 at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#E4D05C
RGBrgb(228, 208, 92)
HSLhsl(51, 72%, 63%)
HSVhsv(51, 60%, 89%)
CMYKcmyk(0%, 8.8%, 59.6%, 10.6%)
CIE-LABlab(83.12, -6.85, 58.76)
CIE-LCHlch(83.12, 59.16, 96.65°)
OKLaboklab(85.21% -0.0229 0.1353)
OKLCHoklch(85.21% 0.137 99.6)
XYZxyz(56.4847, 62.3808, 19.1885)
Luminance0.6238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D05C #5C70E4
analogous
#E48C5C #E4D05C #B4E45C
triadic
#E4D05C #5CE4D0 #D05CE4
tetradic
#E4D05C #5CE48C #5C70E4 #E45CB4
square
#E4D05C #5CE48C #5C70E4 #E45CB4
split-complementary
#E4D05C #5CB4E4 #8C5CE4
monochromatic
#AA951C #DBC127 #E4D05C #EDDF91 #F5EEC5

Accessibility & contrast

On white

1.56
#E4D05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.48
#E4D05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D05C
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D05C#FFFFFF#000000##000000
##E4D05C1.001.5613.4813.48
#FFFFFF1.561.0021.0021.00
#00000013.4821.001.001.00
##00000013.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CB50
Deuteranopia (green-blind)
#E8D262
Tritanopia (blue-blind)
#F4C2B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4d05c;
/* rgb */ color: rgb(228, 208, 92);
/* oklch */ color: oklch(85.2% 0.137 99.6);
Tailwind
colors: {
  custom: {
    50: '#efde8e',
    500: '#e4d05c',
    950: '#000000',
  },
}
SCSS
$custom: #e4d05c;
$custom-light: #efde8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d05c",
  "rgb": {
    "r": 228,
    "g": 208,
    "b": 92
  },
  "hsl": {
    "h": 51.176,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85211,
    "c": 0.13722,
    "h": 99.6
  },
  "luminance": 0.62378
}

Semantic roles & 50–950 ramp

primary
#E4D05C
secondary
#394AAB
accent
#2ED412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D05C

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

Preview Lab → · Contrast checker → · Palette generator →

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