#E4D56F#E4D56F

#E4D56F is a very light, vivid yellow. Relative luminance 0.652; OKLCH L 86.5% C 0.125 H 101.1°. Best body text is #000000 at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#E4D56F
RGBrgb(228, 213, 111)
HSLhsl(52, 68%, 66%)
HSVhsv(52, 51%, 89%)
CMYKcmyk(0%, 6.6%, 51.3%, 10.6%)
CIE-LABlab(84.60, -7.93, 51.75)
CIE-LCHlch(84.60, 52.35, 98.72°)
OKLaboklab(86.45% -0.0239 0.1222)
OKLCHoklch(86.45% 0.125 101.1)
XYZxyz(58.6602, 65.2323, 24.5370)
Luminance0.6523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D56F #6F7EE4
analogous
#E49B6F #E4D56F #B9E46F
triadic
#E4D56F #6FE4D5 #D56FE4
tetradic
#E4D56F #6FE49B #6F7EE4 #E46FB9
square
#E4D56F #6FE49B #6F7EE4 #E46FB9
split-complementary
#E4D56F #6FB9E4 #9B6FE4
monochromatic
#B6A322 #DAC63B #E4D56F #EEE4A3 #F7F3D6

Accessibility & contrast

On white

1.50
#E4D56F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.05
#E4D56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D56F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D56F#FFFFFF#000000##000000
##E4D56F1.001.5014.0514.05
#FFFFFF1.501.0021.0021.00
#00000014.0521.001.001.00
##00000014.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D066
Deuteranopia (green-blind)
#EAD674
Tritanopia (blue-blind)
#F3C9BE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e4d56f;
/* rgb */ color: rgb(228, 213, 111);
/* oklch */ color: oklch(86.5% 0.125 101.1);
Tailwind
colors: {
  custom: {
    50: '#efe19b',
    500: '#e4d56f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d56f;
$custom-light: #efe19b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d56f",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 52.308,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.86454,
    "c": 0.12455,
    "h": 101.1
  },
  "luminance": 0.6523
}

Semantic roles & 50–950 ramp

primary
#E4D56F
secondary
#4050B7
accent
#2DD015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D56F

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

Preview Lab → · Contrast checker → · Palette generator →

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