#E4DE5F#E4DE5F

#E4DE5F is a very light, vivid yellow. Relative luminance 0.696; OKLCH L 88.1% C 0.148 H 106.5°. Best body text is #000000 at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#E4DE5F
RGBrgb(228, 222, 95)
HSLhsl(57, 71%, 63%)
HSVhsv(57, 58%, 89%)
CMYKcmyk(0%, 2.6%, 58.3%, 10.6%)
CIE-LABlab(86.78, -13.67, 61.51)
CIE-LCHlch(86.78, 63.01, 102.53°)
OKLaboklab(88.13% -0.042 0.1415)
OKLCHoklch(88.13% 0.148 106.5)
XYZxyz(60.1837, 69.5646, 21.0813)
Luminance0.6956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DE5F #5F65E4
analogous
#E49B5F #E4DE5F #A7E45F
triadic
#E4DE5F #5FE4DE #DE5FE4
tetradic
#E4DE5F #5FE49B #5F65E4 #E45FA7
square
#E4DE5F #5FE49B #5F65E4 #E45FA7
split-complementary
#E4DE5F #5FA7E4 #9B5FE4
monochromatic
#ACA51D #DBD32B #E4DE5F #EDE993 #F6F4C8

Accessibility & contrast

On white

1.41
#E4DE5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.91
#E4DE5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DE5F
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DE5F#FFFFFF#000000##000000
##E4DE5F1.001.4114.9114.91
#FFFFFF1.411.0021.0021.00
#00000014.9121.001.001.00
##00000014.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD651
Deuteranopia (green-blind)
#F2DC66
Tritanopia (blue-blind)
#F3D1C3
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e4de5f;
/* rgb */ color: rgb(228, 222, 95);
/* oklch */ color: oklch(88.1% 0.148 106.5);
Tailwind
colors: {
  custom: {
    50: '#efe891',
    500: '#e4de5f',
    950: '#000000',
  },
}
SCSS
$custom: #e4de5f;
$custom-light: #efe891;
$custom-dark: #000000;
JSON
{
  "hex": "#e4de5f",
  "rgb": {
    "r": 228,
    "g": 222,
    "b": 95
  },
  "hsl": {
    "h": 57.293,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.88134,
    "c": 0.14765,
    "h": 106.5
  },
  "luminance": 0.69563
}

Semantic roles & 50–950 ramp

primary
#E4DE5F
secondary
#3A3FAD
accent
#1BD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E4DE5F

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

Preview Lab → · Contrast checker → · Palette generator →

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