#E2D855#E2D855

#E2D855 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.6% C 0.150 H 104.9°. Best body text is #000000 at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#E2D855
RGBrgb(226, 216, 85)
HSLhsl(56, 71%, 61%)
HSVhsv(56, 62%, 89%)
CMYKcmyk(0%, 4.4%, 62.4%, 11.4%)
CIE-LABlab(84.97, -12.17, 63.73)
CIE-LCHlch(84.97, 64.88, 100.81°)
OKLaboklab(86.62% -0.0387 0.145)
OKLCHoklch(86.62% 0.15 104.9)
XYZxyz(57.5617, 65.9384, 18.2879)
Luminance0.6594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D855 #555FE2
analogous
#E29155 #E2D855 #A5E255
triadic
#E2D855 #55E2D8 #D855E2
tetradic
#E2D855 #55E291 #555FE2 #E255A5
square
#E2D855 #55E291 #555FE2 #E255A5
split-complementary
#E2D855 #55A5E2 #9155E2
monochromatic
#A1981B #D5C924 #E2D855 #EBE489 #F4F0BE

Accessibility & contrast

On white

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

On black

14.19
#E2D855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D855
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D855#FFFFFF#000000##000000
##E2D8551.001.4814.1914.19
#FFFFFF1.481.0021.0021.00
#00000014.1921.001.001.00
##00000014.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD145
Deuteranopia (green-blind)
#EDD75D
Tritanopia (blue-blind)
#F2CABD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d855;
/* rgb */ color: rgb(226, 216, 85);
/* oklch */ color: oklch(86.6% 0.150 104.9);
Tailwind
colors: {
  custom: {
    50: '#eee38a',
    500: '#e2d855',
    950: '#000000',
  },
}
SCSS
$custom: #e2d855;
$custom-light: #eee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d855",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 85
  },
  "hsl": {
    "h": 55.745,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.8662,
    "c": 0.15004,
    "h": 104.9
  },
  "luminance": 0.65936
}

Semantic roles & 50–950 ramp

primary
#E2D855
secondary
#373FA4
accent
#20D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D855

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

Preview Lab → · Contrast checker → · Palette generator →

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