#E2D960#E2D960

#E2D960 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.142 H 105.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#E2D960
RGBrgb(226, 217, 96)
HSLhsl(56, 69%, 63%)
HSVhsv(56, 58%, 89%)
CMYKcmyk(0%, 4%, 57.5%, 11.4%)
CIE-LABlab(85.32, -11.93, 59.40)
CIE-LCHlch(85.32, 60.59, 101.36°)
OKLaboklab(86.94% -0.0368 0.1372)
OKLCHoklch(86.94% 0.142 105)
XYZxyz(58.2901, 66.6409, 20.8566)
Luminance0.6664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D960 #6069E2
analogous
#E29860 #E2D960 #AAE260
triadic
#E2D960 #60E2D9 #D960E2
tetradic
#E2D960 #60E298 #6069E2 #E260AA
square
#E2D960 #60E298 #6069E2 #E260AA
split-complementary
#E2D960 #60AAE2 #9860E2
monochromatic
#A99F1F #D9CD2C #E2D960 #EBE594 #F5F2C8

Accessibility & contrast

On white

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

On black

14.33
#E2D960 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D960
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D960#FFFFFF#000000##000000
##E2D9601.001.4714.3314.33
#FFFFFF1.471.0021.0021.00
#00000014.3321.001.001.00
##00000014.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#EDD866
Tritanopia (blue-blind)
#F1CCBF
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d960;
/* rgb */ color: rgb(226, 217, 96);
/* oklch */ color: oklch(86.9% 0.142 105.0);
Tailwind
colors: {
  custom: {
    50: '#eee491',
    500: '#e2d960',
    950: '#000000',
  },
}
SCSS
$custom: #e2d960;
$custom-light: #eee491;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d960",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 96
  },
  "hsl": {
    "h": 55.846,
    "s": 69.149,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86935,
    "c": 0.14208,
    "h": 105
  },
  "luminance": 0.66639
}

Semantic roles & 50–950 ramp

primary
#E2D960
secondary
#3B43AB
accent
#21D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D960

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

Preview Lab → · Contrast checker → · Palette generator →

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