#E4D685#E4D685

#E4D685 is a very light, moderate yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.103 H 99.7°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).

Color values

HEX#E4D685
RGBrgb(228, 214, 133)
HSLhsl(51, 64%, 71%)
HSVhsv(51, 42%, 89%)
CMYKcmyk(0%, 6.1%, 41.7%, 10.6%)
CIE-LABlab(85.14, -6.37, 41.68)
CIE-LCHlch(85.14, 42.16, 98.69°)
OKLaboklab(86.97% -0.0173 0.1014)
OKLCHoklch(86.97% 0.103 99.7)
XYZxyz(60.2764, 66.2824, 31.8044)
Luminance0.6628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D685 #8593E4
analogous
#E4A685 #E4D685 #C2E485
triadic
#E4D685 #85E4D6 #D685E4
tetradic
#E4D685 #85E4A6 #8593E4 #E485C2
square
#E4D685 #85E4A6 #8593E4 #E485C2
split-complementary
#E4D685 #85C2E4 #A685E4
monochromatic
#C3AD2B #D9C553 #E4D685 #EFE7B7 #F9F7E6

Accessibility & contrast

On white

1.47
#E4D685 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.26
#E4D685 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D685
14.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D685#FFFFFF#000000##000000
##E4D6851.001.4714.2614.26
#FFFFFF1.471.0021.0021.00
#00000014.2621.001.001.00
##00000014.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D17F
Deuteranopia (green-blind)
#E8D788
Tritanopia (blue-blind)
#F1CBC2
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d685;
/* rgb */ color: rgb(228, 214, 133);
/* oklch */ color: oklch(87.0% 0.103 99.7);
Tailwind
colors: {
  custom: {
    50: '#eee2a9',
    500: '#e4d685',
    950: '#000000',
  },
}
SCSS
$custom: #e4d685;
$custom-light: #eee2a9;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d685",
  "rgb": {
    "r": 228,
    "g": 214,
    "b": 133
  },
  "hsl": {
    "h": 51.158,
    "s": 63.758,
    "l": 70.784
  },
  "oklch": {
    "l": 0.8697,
    "c": 0.10285,
    "h": 99.7
  },
  "luminance": 0.66281
}

Semantic roles & 50–950 ramp

primary
#E4D685
secondary
#5161BC
accent
#34CC1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E4D685

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

Preview Lab → · Contrast checker → · Palette generator →

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