#E1D852#E1D852

#E1D852 is a very light, vivid yellow. Relative luminance 0.657; OKLCH L 86.5% C 0.152 H 105.5°. Best body text is #000000 at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#E1D852
RGBrgb(225, 216, 82)
HSLhsl(56, 70%, 60%)
HSVhsv(56, 64%, 88%)
CMYKcmyk(0%, 4%, 63.6%, 11.8%)
CIE-LABlab(84.86, -12.76, 64.83)
CIE-LCHlch(84.86, 66.07, 101.14°)
OKLaboklab(86.51% -0.0406 0.1469)
OKLCHoklch(86.51% 0.152 105.5)
XYZxyz(57.1323, 65.7305, 17.6588)
Luminance0.6573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D852 #525BE1
analogous
#E19152 #E1D852 #A2E152
triadic
#E1D852 #52E1D8 #D852E1
tetradic
#E1D852 #52E191 #525BE1 #E152A2
square
#E1D852 #52E191 #525BE1 #E152A2
split-complementary
#E1D852 #52A2E1 #9152E1
monochromatic
#9D951B #D1C724 #E1D852 #EAE486 #F3F0BA

Accessibility & contrast

On white

1.48
#E1D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.15
#E1D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D852
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D852#FFFFFF#000000##000000
##E1D8521.001.4814.1514.15
#FFFFFF1.481.0021.0021.00
#00000014.1521.001.001.00
##00000014.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EDD75A
Tritanopia (blue-blind)
#F1CABC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e1d852;
/* rgb */ color: rgb(225, 216, 82);
/* oklch */ color: oklch(86.5% 0.152 105.5);
Tailwind
colors: {
  custom: {
    50: '#eee389',
    500: '#e1d852',
    950: '#000000',
  },
}
SCSS
$custom: #e1d852;
$custom-light: #eee389;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d852",
  "rgb": {
    "r": 225,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 56.224,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.86508,
    "c": 0.15239,
    "h": 105.5
  },
  "luminance": 0.65728
}

Semantic roles & 50–950 ramp

primary
#E1D852
secondary
#373DA1
accent
#1FD213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E1D852

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

Preview Lab → · Contrast checker → · Palette generator →

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