#E2D534#E2D534

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

Color values

HEX#E2D534
RGBrgb(226, 213, 52)
HSLhsl(56, 75%, 55%)
HSVhsv(56, 77%, 89%)
CMYKcmyk(0%, 5.8%, 77%, 11.4%)
CIE-LABlab(83.97, -12.29, 74.73)
CIE-LCHlch(83.97, 75.74, 99.34°)
OKLaboklab(85.76% -0.0423 0.1627)
OKLCHoklch(85.76% 0.168 104.6)
XYZxyz(55.7806, 64.0075, 12.6646)
Luminance0.6401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D534 #3441E2
analogous
#E27E34 #E2D534 #98E234
triadic
#E2D534 #34E2D5 #D534E2
tetradic
#E2D534 #34E27E #3441E2 #E23498
square
#E2D534 #34E27E #3441E2 #E23498
split-complementary
#E2D534 #3498E2 #7E34E2
monochromatic
#887F13 #BEB21B #E2D534 #EAE06A #F1EB9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D534#FFFFFF#000000##000000
##E2D5341.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)
#E8CD04
Deuteranopia (green-blind)
#EDD541
Tritanopia (blue-blind)
#F3C6B7
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d534;
/* rgb */ color: rgb(226, 213, 52);
/* oklch */ color: oklch(85.8% 0.168 104.6);
Tailwind
colors: {
  custom: {
    50: '#efe179',
    500: '#e2d534',
    950: '#000000',
  },
}
SCSS
$custom: #e2d534;
$custom-light: #efe179;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d534",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 52
  },
  "hsl": {
    "h": 55.517,
    "s": 75,
    "l": 54.51
  },
  "oklch": {
    "l": 0.85761,
    "c": 0.16809,
    "h": 104.6
  },
  "luminance": 0.64005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2D534

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

Preview Lab → · Contrast checker → · Palette generator →

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