#E4D95F#E4D95F

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

Color values

HEX#E4D95F
RGBrgb(228, 217, 95)
HSLhsl(55, 71%, 63%)
HSVhsv(55, 58%, 89%)
CMYKcmyk(0%, 4.8%, 58.3%, 10.6%)
CIE-LABlab(85.48, -11.18, 60.06)
CIE-LCHlch(85.48, 61.09, 100.55°)
OKLaboklab(87.1% -0.0349 0.1385)
OKLCHoklch(87.1% 0.143 104.2)
XYZxyz(58.8753, 66.9480, 20.6452)
Luminance0.6695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D95F #5F6AE4
analogous
#E4965F #E4D95F #ACE45F
triadic
#E4D95F #5FE4D9 #D95FE4
tetradic
#E4D95F #5FE496 #5F6AE4 #E45FAC
square
#E4D95F #5FE496 #5F6AE4 #E45FAC
split-complementary
#E4D95F #5FACE4 #965FE4
monochromatic
#ACA01D #DBCD2B #E4D95F #EDE593 #F6F2C8

Accessibility & contrast

On white

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

On black

14.39
#E4D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D95F
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D95F#FFFFFF#000000##000000
##E4D95F1.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#F3CCBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d95f;
/* rgb */ color: rgb(228, 217, 95);
/* oklch */ color: oklch(87.1% 0.143 104.2);
Tailwind
colors: {
  custom: {
    50: '#efe491',
    500: '#e4d95f',
    950: '#000000',
  },
}
SCSS
$custom: #e4d95f;
$custom-light: #efe491;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d95f",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 55.038,
    "s": 71.123,
    "l": 63.333
  },
  "oklch": {
    "l": 0.87095,
    "c": 0.1428,
    "h": 104.2
  },
  "luminance": 0.66946
}

Semantic roles & 50–950 ramp

primary
#E4D95F
secondary
#3A44AD
accent
#22D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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