#E4CF8A#E4CF8A

#E4CF8A is a very light, moderate yellow. Relative luminance 0.630; OKLCH L 85.6% C 0.091 H 93.1°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#E4CF8A
RGBrgb(228, 207, 138)
HSLhsl(46, 63%, 72%)
HSVhsv(46, 39%, 89%)
CMYKcmyk(0%, 9.2%, 39.5%, 10.6%)
CIE-LABlab(83.42, -2.26, 36.95)
CIE-LCHlch(83.42, 37.02, 93.50°)
OKLaboklab(85.63% -0.005 0.0908)
OKLCHoklch(85.63% 0.091 93.1)
XYZxyz(58.8965, 62.9566, 33.0893)
Luminance0.6296 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF8A #8A9FE4
analogous
#E4A28A #E4CF8A #CCE48A
triadic
#E4CF8A #8AE4CF #CF8AE4
tetradic
#E4CF8A #8AE4A2 #8A9FE4 #E48ACC
square
#E4CF8A #8AE4A2 #8A9FE4 #E48ACC
split-complementary
#E4CF8A #8ACCE4 #A28AE4
monochromatic
#C6A22E #D9BB58 #E4CF8A #EFE3BC #F9F5E6

Accessibility & contrast

On white

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

On black

13.59
#E4CF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF8A
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF8A#FFFFFF#000000##000000
##E4CF8A1.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC85
Deuteranopia (green-blind)
#E2D38C
Tritanopia (blue-blind)
#F1C5BE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e4cf8a;
/* rgb */ color: rgb(228, 207, 138);
/* oklch */ color: oklch(85.6% 0.091 93.1);
Tailwind
colors: {
  custom: {
    50: '#eeddad',
    500: '#e4cf8a',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf8a;
$custom-light: #eeddad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf8a",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 138
  },
  "hsl": {
    "h": 46,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.85633,
    "c": 0.09095,
    "h": 93.1
  },
  "luminance": 0.62955
}

Semantic roles & 50–950 ramp

primary
#E4CF8A
secondary
#566EBD
accent
#44CA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E4CF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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