#E2D956#E2D956

#E2D956 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.8% C 0.150 H 105.4°. Best body text is #000000 at 14.29:1 contrast (WCAG AA passes).

Color values

HEX#E2D956
RGBrgb(226, 217, 86)
HSLhsl(56, 71%, 61%)
HSVhsv(56, 62%, 89%)
CMYKcmyk(0%, 4%, 61.9%, 11.4%)
CIE-LABlab(85.23, -12.60, 63.60)
CIE-LCHlch(85.23, 64.84, 101.21°)
OKLaboklab(86.84% -0.0398 0.1448)
OKLCHoklch(86.84% 0.15 105.4)
XYZxyz(57.8586, 66.4683, 18.5842)
Luminance0.6647 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D956 #565FE2
analogous
#E29356 #E2D956 #A5E256
triadic
#E2D956 #56E2D9 #D956E2
tetradic
#E2D956 #56E293 #565FE2 #E256A5
square
#E2D956 #56E293 #565FE2 #E256A5
split-complementary
#E2D956 #56A5E2 #9356E2
monochromatic
#A2991C #D6CB25 #E2D956 #EBE58A #F4F0BE

Accessibility & contrast

On white

1.47
#E2D956 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.29
#E2D956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D956
14.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D956#FFFFFF#000000##000000
##E2D9561.001.4714.2914.29
#FFFFFF1.471.0021.0021.00
#00000014.2921.001.001.00
##00000014.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD246
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d956;
/* rgb */ color: rgb(226, 217, 86);
/* oklch */ color: oklch(86.8% 0.150 105.4);
Tailwind
colors: {
  custom: {
    50: '#eee48b',
    500: '#e2d956',
    950: '#000000',
  },
}
SCSS
$custom: #e2d956;
$custom-light: #eee48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d956",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 86
  },
  "hsl": {
    "h": 56.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.86837,
    "c": 0.15021,
    "h": 105.4
  },
  "luminance": 0.66466
}

Semantic roles & 50–950 ramp

primary
#E2D956
secondary
#383FA5
accent
#1FD313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D956

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

Preview Lab → · Contrast checker → · Palette generator →

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