#E1D95F#E1D95F

#E1D95F is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.8% C 0.143 H 105.5°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E1D95F
RGBrgb(225, 217, 95)
HSLhsl(56, 68%, 63%)
HSVhsv(56, 58%, 88%)
CMYKcmyk(0%, 3.6%, 57.8%, 11.8%)
CIE-LABlab(85.23, -12.41, 59.72)
CIE-LCHlch(85.23, 61.00, 101.74°)
OKLaboklab(86.84% -0.0382 0.1378)
OKLCHoklch(86.84% 0.143 105.5)
XYZxyz(57.9316, 66.4614, 20.6010)
Luminance0.6646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D95F #5F67E1
analogous
#E1985F #E1D95F #A8E15F
triadic
#E1D95F #5FE1D9 #D95FE1
tetradic
#E1D95F #5FE198 #5F67E1 #E15FA8
square
#E1D95F #5FE198 #5F67E1 #E15FA8
split-complementary
#E1D95F #5FA8E1 #985FE1
monochromatic
#A69E1F #D7CD2B #E1D95F #EBE593 #F4F1C6

Accessibility & contrast

On white

1.47
#E1D95F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#E1D95F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D95F
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D95F#FFFFFF#000000##000000
##E1D95F1.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD252
Deuteranopia (green-blind)
#EDD766
Tritanopia (blue-blind)
#F0CCBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e1d95f;
/* rgb */ color: rgb(225, 217, 95);
/* oklch */ color: oklch(86.8% 0.143 105.5);
Tailwind
colors: {
  custom: {
    50: '#ede491',
    500: '#e1d95f',
    950: '#000000',
  },
}
SCSS
$custom: #e1d95f;
$custom-light: #ede491;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d95f",
  "rgb": {
    "r": 225,
    "g": 217,
    "b": 95
  },
  "hsl": {
    "h": 56.308,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8684,
    "c": 0.143,
    "h": 105.5
  },
  "luminance": 0.66459
}

Semantic roles & 50–950 ramp

primary
#E1D95F
secondary
#3B42A9
accent
#21D015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E1D95F

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

Preview Lab → · Contrast checker → · Palette generator →

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