#E4D95B#E4D95B

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

Color values

HEX#E4D95B
RGBrgb(228, 217, 91)
HSLhsl(55, 72%, 63%)
HSVhsv(55, 60%, 89%)
CMYKcmyk(0%, 4.8%, 60.1%, 10.6%)
CIE-LABlab(85.44, -11.46, 61.76)
CIE-LCHlch(85.44, 62.81, 100.51°)
OKLaboklab(87.06% -0.0361 0.1416)
OKLCHoklch(87.06% 0.146 104.3)
XYZxyz(58.6982, 66.8771, 19.7121)
Luminance0.6687 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D95B #5B66E4
analogous
#E4945B #E4D95B #ABE45B
triadic
#E4D95B #5BE4D9 #D95BE4
tetradic
#E4D95B #5BE494 #5B66E4 #E45BAB
square
#E4D95B #5BE494 #5B66E4 #E45BAB
split-complementary
#E4D95B #5BABE4 #945BE4
monochromatic
#A99D1C #DBCD26 #E4D95B #EDE590 #F5F1C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4D95B#FFFFFF#000000##000000
##E4D95B1.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)
#EBD24D
Deuteranopia (green-blind)
#EED862
Tritanopia (blue-blind)
#F4CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d95b;
/* rgb */ color: rgb(228, 217, 91);
/* oklch */ color: oklch(87.1% 0.146 104.3);
Tailwind
colors: {
  custom: {
    50: '#efe48e',
    500: '#e4d95b',
    950: '#000000',
  },
}
SCSS
$custom: #e4d95b;
$custom-light: #efe48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d95b",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 91
  },
  "hsl": {
    "h": 55.182,
    "s": 71.728,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87055,
    "c": 0.1461,
    "h": 104.3
  },
  "luminance": 0.66875
}

Semantic roles & 50–950 ramp

primary
#E4D95B
secondary
#3942AB
accent
#21D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D95B

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

Preview Lab → · Contrast checker → · Palette generator →

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