#E4D57E#E4D57E

#E4D57E is a very light, moderate yellow. Relative luminance 0.656; OKLCH L 86.7% C 0.109 H 99.7°. Best body text is #000000 at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#E4D57E
RGBrgb(228, 213, 126)
HSLhsl(51, 65%, 69%)
HSVhsv(51, 45%, 89%)
CMYKcmyk(0%, 6.6%, 44.7%, 10.6%)
CIE-LABlab(84.79, -6.57, 44.71)
CIE-LCHlch(84.79, 45.19, 98.36°)
OKLaboklab(86.66% -0.0184 0.1078)
OKLCHoklch(86.66% 0.109 99.7)
XYZxyz(59.5565, 65.5908, 29.2577)
Luminance0.6559 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D57E #7E8DE4
analogous
#E4A27E #E4D57E #C0E47E
triadic
#E4D57E #7EE4D5 #D57EE4
tetradic
#E4D57E #7EE4A2 #7E8DE4 #E47EC0
square
#E4D57E #7EE4A2 #7E8DE4 #E47EC0
split-complementary
#E4D57E #7EC0E4 #A27EE4
monochromatic
#C0A928 #D9C54B #E4D57E #EFE5B1 #F9F6E3

Accessibility & contrast

On white

1.49
#E4D57E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.12
#E4D57E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D57E
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D57E#FFFFFF#000000##000000
##E4D57E1.001.4914.1214.12
#FFFFFF1.491.0021.0021.00
#00000014.1221.001.001.00
##00000014.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D077
Deuteranopia (green-blind)
#E8D682
Tritanopia (blue-blind)
#F2CAC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e4d57e;
/* rgb */ color: rgb(228, 213, 126);
/* oklch */ color: oklch(86.7% 0.109 99.7);
Tailwind
colors: {
  custom: {
    50: '#eee1a5',
    500: '#e4d57e',
    950: '#000000',
  },
}
SCSS
$custom: #e4d57e;
$custom-light: #eee1a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d57e",
  "rgb": {
    "r": 228,
    "g": 213,
    "b": 126
  },
  "hsl": {
    "h": 51.176,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86659,
    "c": 0.1094,
    "h": 99.7
  },
  "luminance": 0.65589
}

Semantic roles & 50–950 ramp

primary
#E4D57E
secondary
#4A5BBC
accent
#33CD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4D57E

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

Preview Lab → · Contrast checker → · Palette generator →

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