#E5CF7E#E5CF7E

#E5CF7E is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.5% C 0.104 H 94.7°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E5CF7E
RGBrgb(229, 207, 126)
HSLhsl(47, 66%, 70%)
HSVhsv(47, 45%, 90%)
CMYKcmyk(0%, 9.6%, 45%, 10.2%)
CIE-LABlab(83.33, -3.10, 42.91)
CIE-LCHlch(83.33, 43.02, 94.14°)
OKLaboklab(85.53% -0.0085 0.1038)
OKLCHoklch(85.53% 0.104 94.7)
XYZxyz(58.3934, 62.7922, 28.7788)
Luminance0.6279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5CF7E #7E94E5
analogous
#E59B7E #E5CF7E #C8E57E
triadic
#E5CF7E #7EE5CF #CF7EE5
tetradic
#E5CF7E #7EE59B #7E94E5 #E57EC8
square
#E5CF7E #7EE59B #7E94E5 #E57EC8
split-complementary
#E5CF7E #7EC8E5 #9B7EE5
monochromatic
#C2A127 #DBBC4B #E5CF7E #EFE2B1 #FAF5E4

Accessibility & contrast

On white

1.55
#E5CF7E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E5CF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5CF7E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5CF7E#FFFFFF#000000##000000
##E5CF7E1.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECC78
Deuteranopia (green-blind)
#E4D381
Tritanopia (blue-blind)
#F3C4BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e5cf7e;
/* rgb */ color: rgb(229, 207, 126);
/* oklch */ color: oklch(85.5% 0.104 94.7);
Tailwind
colors: {
  custom: {
    50: '#efdda4',
    500: '#e5cf7e',
    950: '#000000',
  },
}
SCSS
$custom: #e5cf7e;
$custom-light: #efdda4;
$custom-dark: #000000;
JSON
{
  "hex": "#e5cf7e",
  "rgb": {
    "r": 229,
    "g": 207,
    "b": 126
  },
  "hsl": {
    "h": 47.184,
    "s": 66.452,
    "l": 69.608
  },
  "oklch": {
    "l": 0.85529,
    "c": 0.10413,
    "h": 94.7
  },
  "luminance": 0.6279
}

Semantic roles & 50–950 ramp

primary
#E5CF7E
secondary
#4A63BD
accent
#3ECE17
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E5CF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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