#E4CF7E#E4CF7E

#E4CF7E is a very light, moderate yellow. Relative luminance 0.626; OKLCH L 85.4% C 0.104 H 95.3°. Best body text is #000000 at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#E4CF7E
RGBrgb(228, 207, 126)
HSLhsl(48, 65%, 69%)
HSVhsv(48, 45%, 89%)
CMYKcmyk(0%, 9.2%, 44.7%, 10.6%)
CIE-LABlab(83.25, -3.50, 42.78)
CIE-LCHlch(83.25, 42.93, 94.68°)
OKLaboklab(85.44% -0.0096 0.1035)
OKLCHoklch(85.44% 0.104 95.3)
XYZxyz(58.0752, 62.6281, 28.7639)
Luminance0.6263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF7E #7E93E4
analogous
#E49C7E #E4CF7E #C6E47E
triadic
#E4CF7E #7EE4CF #CF7EE4
tetradic
#E4CF7E #7EE49C #7E93E4 #E47EC6
square
#E4CF7E #7EE49C #7E93E4 #E47EC6
split-complementary
#E4CF7E #7EC6E4 #9C7EE4
monochromatic
#C0A028 #D9BC4B #E4CF7E #EFE2B1 #F9F5E3

Accessibility & contrast

On white

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

On black

13.53
#E4CF7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF7E
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF7E#FFFFFF#000000##000000
##E4CF7E1.001.5513.5313.53
#FFFFFF1.551.0021.0021.00
#00000013.5321.001.001.00
##00000013.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DECB78
Deuteranopia (green-blind)
#E4D281
Tritanopia (blue-blind)
#F2C4BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4cf7e;
/* rgb */ color: rgb(228, 207, 126);
/* oklch */ color: oklch(85.4% 0.104 95.3);
Tailwind
colors: {
  custom: {
    50: '#eedda4',
    500: '#e4cf7e',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf7e;
$custom-light: #eedda4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf7e",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 126
  },
  "hsl": {
    "h": 47.647,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.8544,
    "c": 0.10394,
    "h": 95.3
  },
  "luminance": 0.62626
}

Semantic roles & 50–950 ramp

primary
#E4CF7E
secondary
#4A62BC
accent
#3ECD18
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4CF7E

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

Preview Lab → · Contrast checker → · Palette generator →

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