#E2D533#E2D533

#E2D533 is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.169 H 104.6°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#E2D533
RGBrgb(226, 213, 51)
HSLhsl(56, 75%, 54%)
HSVhsv(56, 77%, 89%)
CMYKcmyk(0%, 5.8%, 77.4%, 11.4%)
CIE-LABlab(83.97, -12.32, 75.03)
CIE-LCHlch(83.97, 76.03, 99.33°)
OKLaboklab(85.76% -0.0424 0.1631)
OKLCHoklch(85.76% 0.169 104.6)
XYZxyz(55.7583, 63.9985, 12.5472)
Luminance0.6400 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D533 #3340E2
analogous
#E27E33 #E2D533 #98E233
triadic
#E2D533 #33E2D5 #D533E2
tetradic
#E2D533 #33E27E #3340E2 #E23398
square
#E2D533 #33E27E #3340E2 #E23398
split-complementary
#E2D533 #3398E2 #7E33E2
monochromatic
#877F13 #BDB11B #E2D533 #EAE069 #F1EB9E

Accessibility & contrast

On white

1.52
#E2D533 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#E2D533 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D533
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D533#FFFFFF#000000##000000
##E2D5331.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CD00
Deuteranopia (green-blind)
#EDD540
Tritanopia (blue-blind)
#F3C6B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d533;
/* rgb */ color: rgb(226, 213, 51);
/* oklch */ color: oklch(85.8% 0.169 104.6);
Tailwind
colors: {
  custom: {
    50: '#efe178',
    500: '#e2d533',
    950: '#000000',
  },
}
SCSS
$custom: #e2d533;
$custom-light: #efe178;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d533",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 51
  },
  "hsl": {
    "h": 55.543,
    "s": 75.107,
    "l": 54.314
  },
  "oklch": {
    "l": 0.85756,
    "c": 0.16857,
    "h": 104.6
  },
  "luminance": 0.63996
}

Semantic roles & 50–950 ramp

primary
#E2D533
secondary
#2C338D
accent
#44F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D533

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

Preview Lab → · Contrast checker → · Palette generator →

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