#E4D95D#E4D95D

#E4D95D is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.1% C 0.144 H 104.2°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#E4D95D
RGBrgb(228, 217, 93)
HSLhsl(55, 71%, 63%)
HSVhsv(55, 59%, 89%)
CMYKcmyk(0%, 4.8%, 59.2%, 10.6%)
CIE-LABlab(85.46, -11.32, 60.91)
CIE-LCHlch(85.46, 61.96, 100.53°)
OKLaboklab(87.08% -0.0355 0.14)
OKLCHoklch(87.08% 0.144 104.2)
XYZxyz(58.7856, 66.9121, 20.1726)
Luminance0.6691 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D95D #5D68E4
analogous
#E4955D #E4D95D #ABE45D
triadic
#E4D95D #5DE4D9 #D95DE4
tetradic
#E4D95D #5DE495 #5D68E4 #E45DAB
square
#E4D95D #5DE495 #5D68E4 #E45DAB
split-complementary
#E4D95D #5DABE4 #955DE4
monochromatic
#AA9F1C #DBCD29 #E4D95D #EDE591 #F5F2C6

Accessibility & contrast

On white

1.46
#E4D95D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#E4D95D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D95D
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D95D#FFFFFF#000000##000000
##E4D95D1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD24F
Deuteranopia (green-blind)
#EED864
Tritanopia (blue-blind)
#F4CCBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d95d;
/* rgb */ color: rgb(228, 217, 93);
/* oklch */ color: oklch(87.1% 0.144 104.2);
Tailwind
colors: {
  custom: {
    50: '#efe48f',
    500: '#e4d95d',
    950: '#000000',
  },
}
SCSS
$custom: #e4d95d;
$custom-light: #efe48f;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d95d",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 93
  },
  "hsl": {
    "h": 55.111,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.87075,
    "c": 0.14447,
    "h": 104.2
  },
  "luminance": 0.6691
}

Semantic roles & 50–950 ramp

primary
#E4D95D
secondary
#3943AC
accent
#22D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D95D

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

Preview Lab → · Contrast checker → · Palette generator →

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