#E2D854#E2D854

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

Color values

HEX#E2D854
RGBrgb(226, 216, 84)
HSLhsl(56, 71%, 61%)
HSVhsv(56, 63%, 89%)
CMYKcmyk(0%, 4.4%, 62.8%, 11.4%)
CIE-LABlab(84.96, -12.23, 64.14)
CIE-LCHlch(84.96, 65.29, 100.80°)
OKLaboklab(86.61% -0.039 0.1457)
OKLCHoklch(86.61% 0.151 105)
XYZxyz(57.5222, 65.9226, 18.0801)
Luminance0.6592 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D854 #545EE2
analogous
#E29154 #E2D854 #A5E254
triadic
#E2D854 #54E2D8 #D854E2
tetradic
#E2D854 #54E291 #545EE2 #E254A5
square
#E2D854 #54E291 #545EE2 #E254A5
split-complementary
#E2D854 #54A5E2 #9154E2
monochromatic
#A0971B #D5C824 #E2D854 #EBE488 #F4F0BD

Accessibility & contrast

On white

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

On black

14.18
#E2D854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D854
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D854#FFFFFF#000000##000000
##E2D8541.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD144
Deuteranopia (green-blind)
#EDD75C
Tritanopia (blue-blind)
#F2CABC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d854;
/* rgb */ color: rgb(226, 216, 84);
/* oklch */ color: oklch(86.6% 0.151 105.0);
Tailwind
colors: {
  custom: {
    50: '#eee38a',
    500: '#e2d854',
    950: '#000000',
  },
}
SCSS
$custom: #e2d854;
$custom-light: #eee38a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d854",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 84
  },
  "hsl": {
    "h": 55.775,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.86611,
    "c": 0.1508,
    "h": 105
  },
  "luminance": 0.65921
}

Semantic roles & 50–950 ramp

primary
#E2D854
secondary
#373FA3
accent
#20D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D854

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

Preview Lab → · Contrast checker → · Palette generator →

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