#E5CD72#E5CD72

#E5CD72 is a very light, moderate yellow. Relative luminance 0.615; OKLCH L 85.0% C 0.115 H 95.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#E5CD72
RGBrgb(229, 205, 114)
HSLhsl(47, 69%, 67%)
HSVhsv(47, 50%, 90%)
CMYKcmyk(0%, 10.5%, 50.2%, 10.2%)
CIE-LABlab(82.67, -3.19, 48.00)
CIE-LCHlch(82.67, 48.11, 93.80°)
OKLaboklab(84.95% -0.0099 0.1143)
OKLCHoklch(84.95% 0.115 95)
XYZxyz(57.1836, 61.5379, 24.7822)
Luminance0.6154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CD72 #728AE5
analogous
#E59372 #E5CD72 #C4E572
triadic
#E5CD72 #72E5CD #CD72E5
tetradic
#E5CD72 #72E593 #728AE5 #E572C4
square
#E5CD72 #72E593 #728AE5 #E572C4
split-complementary
#E5CD72 #72C4E5 #9372E5
monochromatic
#BA9B22 #DBBB3E #E5CD72 #EFDFA6 #F8F2D9

Accessibility & contrast

On white

1.58
#E5CD72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#E5CD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CD72
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CD72#FFFFFF#000000##000000
##E5CD721.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC96A
Deuteranopia (green-blind)
#E4D176
Tritanopia (blue-blind)
#F4C1B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e5cd72;
/* rgb */ color: rgb(229, 205, 114);
/* oklch */ color: oklch(85.0% 0.115 95.0);
Tailwind
colors: {
  custom: {
    50: '#efdc9c',
    500: '#e5cd72',
    950: '#000000',
  },
}
SCSS
$custom: #e5cd72;
$custom-light: #efdc9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cd72",
  "rgb": {
    "r": 229,
    "g": 205,
    "b": 114
  },
  "hsl": {
    "h": 47.478,
    "s": 68.862,
    "l": 67.255
  },
  "oklch": {
    "l": 0.84953,
    "c": 0.1147,
    "h": 95
  },
  "luminance": 0.61536
}

Semantic roles & 50–950 ramp

primary
#E5CD72
secondary
#415ABA
accent
#3CD115
background
#FFFEFC
surface
#FEFBF5
border
#D6D4CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5CD72

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

Preview Lab → · Contrast checker → · Palette generator →

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