#E4CF66#E4CF66

#E4CF66 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 85.1% C 0.128 H 98.2°. Best body text is #000000 at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#E4CF66
RGBrgb(228, 207, 102)
HSLhsl(50, 70%, 65%)
HSVhsv(50, 55%, 89%)
CMYKcmyk(0%, 9.2%, 55.3%, 10.6%)
CIE-LABlab(82.96, -5.61, 54.04)
CIE-LCHlch(82.96, 54.33, 95.93°)
OKLaboklab(85.12% -0.0182 0.1263)
OKLCHoklch(85.12% 0.128 98.2)
XYZxyz(56.7081, 62.0813, 21.5636)
Luminance0.6208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4CF66 #667BE4
analogous
#E49066 #E4CF66 #BAE466
triadic
#E4CF66 #66E4CF #CF66E4
tetradic
#E4CF66 #66E490 #667BE4 #E466BA
square
#E4CF66 #66E490 #667BE4 #E466BA
split-complementary
#E4CF66 #66BAE4 #9066E4
monochromatic
#B0981F #DBBF32 #E4CF66 #EDDF9A #F6F0CE

Accessibility & contrast

On white

1.57
#E4CF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.42
#E4CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4CF66
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4CF66#FFFFFF#000000##000000
##E4CF661.001.5713.4213.42
#FFFFFF1.571.0021.0021.00
#00000013.4221.001.001.00
##00000013.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5C
Deuteranopia (green-blind)
#E6D26B
Tritanopia (blue-blind)
#F4C2B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e4cf66;
/* rgb */ color: rgb(228, 207, 102);
/* oklch */ color: oklch(85.1% 0.128 98.2);
Tailwind
colors: {
  custom: {
    50: '#efdd95',
    500: '#e4cf66',
    950: '#000000',
  },
}
SCSS
$custom: #e4cf66;
$custom-light: #efdd95;
$custom-dark: #000000;
JSON
{
  "hex": "#e4cf66",
  "rgb": {
    "r": 228,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 50,
    "s": 70,
    "l": 64.706
  },
  "oklch": {
    "l": 0.85117,
    "c": 0.12763,
    "h": 98.2
  },
  "luminance": 0.62079
}

Semantic roles & 50–950 ramp

primary
#E4CF66
secondary
#3D50B1
accent
#33D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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