#E4CD7E#E4CD7E

#E4CD7E is a very light, moderate yellow. Relative luminance 0.617; OKLCH L 85.0% C 0.102 H 93.7°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#E4CD7E
RGBrgb(228, 205, 126)
HSLhsl(46, 65%, 69%)
HSVhsv(46, 45%, 89%)
CMYKcmyk(0%, 10.1%, 44.7%, 10.6%)
CIE-LABlab(82.74, -2.48, 42.14)
CIE-LCHlch(82.74, 42.22, 93.36°)
OKLaboklab(85.04% -0.0066 0.1021)
OKLCHoklch(85.04% 0.102 93.7)
XYZxyz(57.5937, 61.6652, 28.6034)
Luminance0.6166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CD7E #7E95E4
analogous
#E49A7E #E4CD7E #C8E47E
triadic
#E4CD7E #7EE4CD #CD7EE4
tetradic
#E4CD7E #7EE49A #7E95E4 #E47EC8
square
#E4CD7E #7EE49A #7E95E4 #E47EC8
split-complementary
#E4CD7E #7EC8E4 #9A7EE4
monochromatic
#C09D28 #D9B94B #E4CD7E #EFE1B1 #F9F4E3

Accessibility & contrast

On white

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

On black

13.33
#E4CD7E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CD7E
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CD7E#FFFFFF#000000##000000
##E4CD7E1.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4cd7e;
/* rgb */ color: rgb(228, 205, 126);
/* oklch */ color: oklch(85.0% 0.102 93.7);
Tailwind
colors: {
  custom: {
    50: '#eedca4',
    500: '#e4cd7e',
    950: '#000000',
  },
}
SCSS
$custom: #e4cd7e;
$custom-light: #eedca4;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cd7e",
  "rgb": {
    "r": 228,
    "g": 205,
    "b": 126
  },
  "hsl": {
    "h": 46.471,
    "s": 65.385,
    "l": 69.412
  },
  "oklch": {
    "l": 0.85036,
    "c": 0.10226,
    "h": 93.7
  },
  "luminance": 0.61663
}

Semantic roles & 50–950 ramp

primary
#E4CD7E
secondary
#4A64BC
accent
#41CD18
background
#FFFEFC
surface
#FEFBF6
border
#D6D4D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E4CD7E

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

Preview Lab → · Contrast checker → · Palette generator →

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