#E2D552#E2D552

#E2D552 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 86.0% C 0.150 H 103.6°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#E2D552
RGBrgb(226, 213, 82)
HSLhsl(55, 71%, 60%)
HSVhsv(55, 64%, 89%)
CMYKcmyk(0%, 5.8%, 63.7%, 11.4%)
CIE-LABlab(84.16, -10.85, 64.11)
CIE-LCHlch(84.16, 65.02, 99.60°)
OKLaboklab(85.97% -0.0353 0.1453)
OKLCHoklch(85.97% 0.15 103.6)
XYZxyz(56.6834, 64.3686, 17.4196)
Luminance0.6437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D552 #525FE2
analogous
#E28D52 #E2D552 #A7E252
triadic
#E2D552 #52E2D5 #D552E2
tetradic
#E2D552 #52E28D #525FE2 #E252A7
square
#E2D552 #52E28D #525FE2 #E252A7
split-complementary
#E2D552 #52A7E2 #8D52E2
monochromatic
#9F931B #D3C323 #E2D552 #EBE286 #F4EEBB

Accessibility & contrast

On white

1.51
#E2D552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#E2D552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D552
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D552#FFFFFF#000000##000000
##E2D5521.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE42
Deuteranopia (green-blind)
#EBD55A
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d552;
/* rgb */ color: rgb(226, 213, 82);
/* oklch */ color: oklch(86.0% 0.150 103.6);
Tailwind
colors: {
  custom: {
    50: '#eee189',
    500: '#e2d552',
    950: '#000000',
  },
}
SCSS
$custom: #e2d552;
$custom-light: #eee189;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d552",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 82
  },
  "hsl": {
    "h": 54.583,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8597,
    "c": 0.14955,
    "h": 103.6
  },
  "luminance": 0.64366
}

Semantic roles & 50–950 ramp

primary
#E2D552
secondary
#3640A2
accent
#24D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D552

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

Preview Lab → · Contrast checker → · Palette generator →

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