#E5CD7E#E5CD7E

#E5CD7E is a very light, moderate yellow. Relative luminance 0.618; OKLCH L 85.1% C 0.102 H 93.1°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#E5CD7E
RGBrgb(229, 205, 126)
HSLhsl(46, 66%, 70%)
HSVhsv(46, 45%, 90%)
CMYKcmyk(0%, 10.5%, 45%, 10.2%)
CIE-LABlab(82.82, -2.08, 42.27)
CIE-LCHlch(82.82, 42.32, 92.81°)
OKLaboklab(85.13% -0.0055 0.1023)
OKLCHoklch(85.13% 0.102 93.1)
XYZxyz(57.9120, 61.8293, 28.6184)
Luminance0.6183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD7E #7E96E5
analogous
#E5997E #E5CD7E #CAE57E
triadic
#E5CD7E #7EE5CD #CD7EE5
tetradic
#E5CD7E #7EE599 #7E96E5 #E57ECA
square
#E5CD7E #7EE599 #7E96E5 #E57ECA
split-complementary
#E5CD7E #7ECAE5 #997EE5
monochromatic
#C29E27 #DBB94B #E5CD7E #EFE1B1 #FAF4E4

Accessibility & contrast

On white

1.57
#E5CD7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.37
#E5CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD7E
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD7E#FFFFFF#000000##000000
##E5CD7E1.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCCA78
Deuteranopia (green-blind)
#E3D181
Tritanopia (blue-blind)
#F3C2BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cd7e;
/* rgb */ color: rgb(229, 205, 126);
/* oklch */ color: oklch(85.1% 0.102 93.1);
Tailwind
colors: {
  custom: {
    50: '#efdca4',
    500: '#e5cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd7e;
$custom-light: #efdca4;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd7e",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 46.019,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85126,
    "c": 0.10248,
    "h": 93.1
  },
  "luminance": 0.61827
}

Semantic roles & 50–950 ramp

primary
#E5CD7E
secondary
#4A65BD
accent
#42CE17
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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