#E4D95A#E4D95A

#E4D95A is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.147 H 104.4°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#E4D95A
RGBrgb(228, 217, 90)
HSLhsl(55, 72%, 62%)
HSVhsv(55, 61%, 89%)
CMYKcmyk(0%, 4.8%, 60.5%, 10.6%)
CIE-LABlab(85.43, -11.52, 62.18)
CIE-LCHlch(85.43, 63.24, 100.50°)
OKLaboklab(87.05% -0.0364 0.1423)
OKLCHoklch(87.05% 0.147 104.4)
XYZxyz(58.6553, 66.8600, 19.4864)
Luminance0.6686 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D95A #5A65E4
analogous
#E4945A #E4D95A #AAE45A
triadic
#E4D95A #5AE4D9 #D95AE4
tetradic
#E4D95A #5AE494 #5A65E4 #E45AAA
square
#E4D95A #5AE494 #5A65E4 #E45AAA
split-complementary
#E4D95A #5AAAE4 #945AE4
monochromatic
#A89D1C #DBCD25 #E4D95A #EDE58F #F5F1C3

Accessibility & contrast

On white

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

On black

14.37
#E4D95A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D95A
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D95A#FFFFFF#000000##000000
##E4D95A1.001.4614.3714.37
#FFFFFF1.461.0021.0021.00
#00000014.3721.001.001.00
##00000014.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD24B
Deuteranopia (green-blind)
#EED861
Tritanopia (blue-blind)
#F4CBBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e4d95a;
/* rgb */ color: rgb(228, 217, 90);
/* oklch */ color: oklch(87.0% 0.147 104.4);
Tailwind
colors: {
  custom: {
    50: '#efe48e',
    500: '#e4d95a',
    950: '#000000',
  },
}
SCSS
$custom: #e4d95a;
$custom-light: #efe48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d95a",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 90
  },
  "hsl": {
    "h": 55.217,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.87046,
    "c": 0.1469,
    "h": 104.4
  },
  "luminance": 0.66858
}

Semantic roles & 50–950 ramp

primary
#E4D95A
secondary
#3841AA
accent
#21D412
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E4D95A

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

Preview Lab → · Contrast checker → · Palette generator →

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