#E2D856#E2D856

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

Color values

HEX#E2D856
RGBrgb(226, 216, 86)
HSLhsl(56, 71%, 61%)
HSVhsv(56, 62%, 89%)
CMYKcmyk(0%, 4.4%, 61.9%, 11.4%)
CIE-LABlab(84.97, -12.10, 63.32)
CIE-LCHlch(84.97, 64.47, 100.82°)
OKLaboklab(86.63% -0.0384 0.1442)
OKLCHoklch(86.63% 0.149 104.9)
XYZxyz(57.6017, 65.9544, 18.4986)
Luminance0.6595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D856 #5660E2
analogous
#E29256 #E2D856 #A6E256
triadic
#E2D856 #56E2D8 #D856E2
tetradic
#E2D856 #56E292 #5660E2 #E256A6
square
#E2D856 #56E292 #5660E2 #E256A6
split-complementary
#E2D856 #56A6E2 #9256E2
monochromatic
#A2981C #D6C925 #E2D856 #EBE48A #F4F0BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D856#FFFFFF#000000##000000
##E2D8561.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)
#EAD146
Deuteranopia (green-blind)
#EDD75D
Tritanopia (blue-blind)
#F2CABD
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e2d856;
/* rgb */ color: rgb(226, 216, 86);
/* oklch */ color: oklch(86.6% 0.149 104.9);
Tailwind
colors: {
  custom: {
    50: '#eee38b',
    500: '#e2d856',
    950: '#000000',
  },
}
SCSS
$custom: #e2d856;
$custom-light: #eee38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d856",
  "rgb": {
    "r": 226,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 55.714,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86629,
    "c": 0.14927,
    "h": 104.9
  },
  "luminance": 0.65952
}

Semantic roles & 50–950 ramp

primary
#E2D856
secondary
#383FA5
accent
#20D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D856

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

Preview Lab → · Contrast checker → · Palette generator →

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