#E1DC5F#E1DC5F

#E1DC5F is a very light, vivid yellow. Relative luminance 0.680; OKLCH L 87.5% C 0.146 H 106.9°. Best body text is #000000 at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#E1DC5F
RGBrgb(225, 220, 95)
HSLhsl(58, 68%, 63%)
HSVhsv(58, 58%, 88%)
CMYKcmyk(0%, 2.2%, 57.8%, 11.8%)
CIE-LABlab(86.02, -13.90, 60.59)
CIE-LCHlch(86.02, 62.17, 102.92°)
OKLaboklab(87.47% -0.0425 0.1397)
OKLCHoklch(87.47% 0.146 106.9)
XYZxyz(58.7119, 68.0220, 20.8611)
Luminance0.6802 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1DC5F #5F64E1
analogous
#E19B5F #E1DC5F #A5E15F
triadic
#E1DC5F #5FE1DC #DC5FE1
tetradic
#E1DC5F #5FE19B #5F64E1 #E15FA5
square
#E1DC5F #5FE19B #5F64E1 #E15FA5
split-complementary
#E1DC5F #5FA5E1 #9B5FE1
monochromatic
#A6A11F #D7D12B #E1DC5F #EBE793 #F4F3C6

Accessibility & contrast

On white

1.44
#E1DC5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.60
#E1DC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1DC5F
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1DC5F#FFFFFF#000000##000000
##E1DC5F1.001.4414.6014.60
#FFFFFF1.441.0021.0021.00
#00000014.6021.001.001.00
##00000014.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD451
Deuteranopia (green-blind)
#EFDA66
Tritanopia (blue-blind)
#F0CFC1
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e1dc5f;
/* rgb */ color: rgb(225, 220, 95);
/* oklch */ color: oklch(87.5% 0.146 106.9);
Tailwind
colors: {
  custom: {
    50: '#ede691',
    500: '#e1dc5f',
    950: '#000000',
  },
}
SCSS
$custom: #e1dc5f;
$custom-light: #ede691;
$custom-dark: #000000;
JSON
{
  "hex": "#e1dc5f",
  "rgb": {
    "r": 225,
    "g": 220,
    "b": 95
  },
  "hsl": {
    "h": 57.692,
    "s": 68.421,
    "l": 62.745
  },
  "oklch": {
    "l": 0.87466,
    "c": 0.14598,
    "h": 106.9
  },
  "luminance": 0.6802
}

Semantic roles & 50–950 ramp

primary
#E1DC5F
secondary
#3B40A9
accent
#1CD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E1DC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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