#E5D56C#E5D56C

#E5D56C is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.5% C 0.127 H 100.8°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#E5D56C
RGBrgb(229, 213, 108)
HSLhsl(52, 70%, 66%)
HSVhsv(52, 53%, 90%)
CMYKcmyk(0%, 7%, 52.8%, 10.2%)
CIE-LABlab(84.65, -7.78, 53.24)
CIE-LCHlch(84.65, 53.81, 98.31°)
OKLaboklab(86.5% -0.0238 0.1252)
OKLCHoklch(86.5% 0.127 100.8)
XYZxyz(58.8160, 65.3314, 23.6965)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D56C #6C7CE5
analogous
#E5986C #E5D56C #B8E56C
triadic
#E5D56C #6CE5D5 #D56CE5
tetradic
#E5D56C #6CE598 #6C7CE5 #E56CB8
square
#E5D56C #6CE598 #6C7CE5 #E56CB8
split-complementary
#E5D56C #6CB8E5 #986CE5
monochromatic
#B6A220 #DCC638 #E5D56C #EEE4A0 #F7F3D4

Accessibility & contrast

On white

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

On black

14.07
#E5D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D56C
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D56C#FFFFFF#000000##000000
##E5D56C1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6D062
Deuteranopia (green-blind)
#EAD671
Tritanopia (blue-blind)
#F4C8BD
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e5d56c;
/* rgb */ color: rgb(229, 213, 108);
/* oklch */ color: oklch(86.5% 0.127 100.8);
Tailwind
colors: {
  custom: {
    50: '#f0e199',
    500: '#e5d56c',
    950: '#000000',
  },
}
SCSS
$custom: #e5d56c;
$custom-light: #f0e199;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d56c",
  "rgb": {
    "r": 229,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 52.066,
    "s": 69.942,
    "l": 66.078
  },
  "oklch": {
    "l": 0.86504,
    "c": 0.12744,
    "h": 100.8
  },
  "luminance": 0.65329
}

Semantic roles & 50–950 ramp

primary
#E5D56C
secondary
#3F4EB7
accent
#2DD214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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