#E1D951#E1D951

#E1D951 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.7% C 0.154 H 106.0°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E1D951
RGBrgb(225, 217, 81)
HSLhsl(57, 71%, 60%)
HSVhsv(57, 64%, 88%)
CMYKcmyk(0%, 3.6%, 64%, 11.8%)
CIE-LABlab(85.11, -13.32, 65.50)
CIE-LCHlch(85.11, 66.84, 101.50°)
OKLaboklab(86.71% -0.0423 0.1481)
OKLCHoklch(86.71% 0.154 106)
XYZxyz(57.3515, 66.2293, 17.5455)
Luminance0.6623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D951 #5159E1
analogous
#E19151 #E1D951 #A1E151
triadic
#E1D951 #51E1D9 #D951E1
tetradic
#E1D951 #51E191 #5159E1 #E151A1
square
#E1D951 #51E191 #5159E1 #E151A1
split-complementary
#E1D951 #51A1E1 #9151E1
monochromatic
#9D951B #D1C724 #E1D951 #EAE485 #F3F0B9

Accessibility & contrast

On white

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

On black

14.25
#E1D951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D951
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D951#FFFFFF#000000##000000
##E1D9511.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13F
Deuteranopia (green-blind)
#EED759
Tritanopia (blue-blind)
#F1CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e1d951;
/* rgb */ color: rgb(225, 217, 81);
/* oklch */ color: oklch(86.7% 0.154 106.0);
Tailwind
colors: {
  custom: {
    50: '#eee488',
    500: '#e1d951',
    950: '#000000',
  },
}
SCSS
$custom: #e1d951;
$custom-light: #eee488;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d951",
  "rgb": {
    "r": 225,
    "g": 217,
    "b": 81
  },
  "hsl": {
    "h": 56.667,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.86708,
    "c": 0.15407,
    "h": 106
  },
  "luminance": 0.66227
}

Semantic roles & 50–950 ramp

primary
#E1D951
secondary
#363CA0
accent
#44ED3A
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1D951

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

Preview Lab → · Contrast checker → · Palette generator →

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