#E5D57C#E5D57C

#E5D57C is a very light, moderate yellow. Relative luminance 0.657; OKLCH L 86.7% C 0.112 H 99.3°. Best body text is #000000 at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#E5D57C
RGBrgb(229, 213, 124)
HSLhsl(51, 67%, 69%)
HSVhsv(51, 46%, 90%)
CMYKcmyk(0%, 7%, 45.9%, 10.2%)
CIE-LABlab(84.85, -6.36, 45.79)
CIE-LCHlch(84.85, 46.23, 97.91°)
OKLaboklab(86.72% -0.0181 0.1101)
OKLCHoklch(86.72% 0.112 99.3)
XYZxyz(59.7470, 65.7038, 28.5997)
Luminance0.6570 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D57C #7C8CE5
analogous
#E5A17C #E5D57C #C1E57C
triadic
#E5D57C #7CE5D5 #D57CE5
tetradic
#E5D57C #7CE5A1 #7C8CE5 #E57CC1
square
#E5D57C #7CE5A1 #7C8CE5 #E57CC1
split-complementary
#E5D57C #7CC1E5 #A17CE5
monochromatic
#C0A926 #DBC549 #E5D57C #EFE5AF #F9F6E2

Accessibility & contrast

On white

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

On black

14.14
#E5D57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D57C
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D57C#FFFFFF#000000##000000
##E5D57C1.001.4914.1414.14
#FFFFFF1.491.0021.0021.00
#00000014.1421.001.001.00
##00000014.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D075
Deuteranopia (green-blind)
#E9D780
Tritanopia (blue-blind)
#F3CAC0
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e5d57c;
/* rgb */ color: rgb(229, 213, 124);
/* oklch */ color: oklch(86.7% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#efe1a3',
    500: '#e5d57c',
    950: '#000000',
  },
}
SCSS
$custom: #e5d57c;
$custom-light: #efe1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d57c",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 124
  },
  "hsl": {
    "h": 50.857,
    "s": 66.879,
    "l": 69.216
  },
  "oklch": {
    "l": 0.86717,
    "c": 0.11157,
    "h": 99.3
  },
  "luminance": 0.65702
}

Semantic roles & 50–950 ramp

primary
#E5D57C
secondary
#485ABD
accent
#33CF17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5D57C

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

Preview Lab → · Contrast checker → · Palette generator →

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