#E4DC6F#E4DC6F

#E4DC6F is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 87.9% C 0.131 H 105.0°. Best body text is #000000 at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#E4DC6F
RGBrgb(228, 220, 111)
HSLhsl(56, 68%, 66%)
HSVhsv(56, 51%, 89%)
CMYKcmyk(0%, 3.5%, 51.3%, 10.6%)
CIE-LABlab(86.42, -11.46, 53.89)
CIE-LCHlch(86.42, 55.10, 102.00°)
OKLaboklab(87.9% -0.034 0.1269)
OKLCHoklch(87.9% 0.131 105)
XYZxyz(60.4590, 68.8299, 25.1366)
Luminance0.6883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC6F #6F77E4
analogous
#E4A26F #E4DC6F #B2E46F
triadic
#E4DC6F #6FE4DC #DC6FE4
tetradic
#E4DC6F #6FE4A2 #6F77E4 #E46FB2
square
#E4DC6F #6FE4A2 #6F77E4 #E46FB2
split-complementary
#E4DC6F #6FB2E4 #A26FE4
monochromatic
#B6AC22 #DACF3B #E4DC6F #EEE9A3 #F7F5D6

Accessibility & contrast

On white

1.42
#E4DC6F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.77
#E4DC6F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC6F
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC6F#FFFFFF#000000##000000
##E4DC6F1.001.4214.7714.77
#FFFFFF1.421.0021.0021.00
#00000014.7721.001.001.00
##00000014.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD565
Deuteranopia (green-blind)
#EFDB74
Tritanopia (blue-blind)
#F2D0C3
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4dc6f;
/* rgb */ color: rgb(228, 220, 111);
/* oklch */ color: oklch(87.9% 0.131 105.0);
Tailwind
colors: {
  custom: {
    50: '#efe69b',
    500: '#e4dc6f',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc6f;
$custom-light: #efe69b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc6f",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 111
  },
  "hsl": {
    "h": 55.897,
    "s": 68.421,
    "l": 66.471
  },
  "oklch": {
    "l": 0.87896,
    "c": 0.13139,
    "h": 105
  },
  "luminance": 0.68828
}

Semantic roles & 50–950 ramp

primary
#E4DC6F
secondary
#4048B7
accent
#22D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4DC6F

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

Preview Lab → · Contrast checker → · Palette generator →

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