#E2DE56#E2DE56

#E2DE56 is a very light, vivid yellow. Relative luminance 0.691; OKLCH L 87.9% C 0.155 H 107.6°. Best body text is #000000 at 14.82:1 contrast (WCAG AA passes).

Color values

HEX#E2DE56
RGBrgb(226, 222, 86)
HSLhsl(58, 71%, 61%)
HSVhsv(58, 62%, 89%)
CMYKcmyk(0%, 1.8%, 61.9%, 11.4%)
CIE-LABlab(86.55, -15.09, 65.00)
CIE-LCHlch(86.55, 66.73, 103.07°)
OKLaboklab(87.88% -0.0469 0.1478)
OKLCHoklch(87.88% 0.155 107.6)
XYZxyz(59.1670, 69.0850, 19.0203)
Luminance0.6908 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DE56 #565AE2
analogous
#E29856 #E2DE56 #A0E256
triadic
#E2DE56 #56E2DE #DE56E2
tetradic
#E2DE56 #56E298 #565AE2 #E256A0
square
#E2DE56 #56E298 #565AE2 #E256A0
split-complementary
#E2DE56 #56A0E2 #9856E2
monochromatic
#A29E1C #D6D125 #E2DE56 #EBE88A #F4F2BE

Accessibility & contrast

On white

1.42
#E2DE56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.82
#E2DE56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DE56
14.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DE56#FFFFFF#000000##000000
##E2DE561.001.4214.8214.82
#FFFFFF1.421.0021.0021.00
#00000014.8221.001.001.00
##00000014.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EFD645
Deuteranopia (green-blind)
#F2DB5E
Tritanopia (blue-blind)
#F1D0C2
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2de56;
/* rgb */ color: rgb(226, 222, 86);
/* oklch */ color: oklch(87.9% 0.155 107.6);
Tailwind
colors: {
  custom: {
    50: '#eee88c',
    500: '#e2de56',
    950: '#000000',
  },
}
SCSS
$custom: #e2de56;
$custom-light: #eee88c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2de56",
  "rgb": {
    "r": 226,
    "g": 222,
    "b": 86
  },
  "hsl": {
    "h": 58.286,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.87882,
    "c": 0.15505,
    "h": 107.6
  },
  "luminance": 0.69083
}

Semantic roles & 50–950 ramp

primary
#E2DE56
secondary
#383BA5
accent
#18D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2DE56

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

Preview Lab → · Contrast checker → · Palette generator →

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