#E2D752#E2D752

#E2D752 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.4% C 0.151 H 104.6°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#E2D752
RGBrgb(226, 215, 82)
HSLhsl(55, 71%, 60%)
HSVhsv(55, 64%, 89%)
CMYKcmyk(0%, 4.9%, 63.7%, 11.4%)
CIE-LABlab(84.68, -11.85, 64.66)
CIE-LCHlch(84.68, 65.74, 100.38°)
OKLaboklab(86.39% -0.0381 0.1465)
OKLCHoklch(86.39% 0.151 104.6)
XYZxyz(57.1896, 65.3809, 17.5883)
Luminance0.6538 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D752 #525DE2
analogous
#E28F52 #E2D752 #A5E252
triadic
#E2D752 #52E2D7 #D752E2
tetradic
#E2D752 #52E28F #525DE2 #E252A5
square
#E2D752 #52E28F #525DE2 #E252A5
split-complementary
#E2D752 #52A5E2 #8F52E2
monochromatic
#9F951B #D3C623 #E2D752 #EBE386 #F4EFBB

Accessibility & contrast

On white

1.49
#E2D752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.08
#E2D752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D752
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D752#FFFFFF#000000##000000
##E2D7521.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D041
Deuteranopia (green-blind)
#EDD65A
Tritanopia (blue-blind)
#F2C9BB
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #e2d752;
/* rgb */ color: rgb(226, 215, 82);
/* oklch */ color: oklch(86.4% 0.151 104.6);
Tailwind
colors: {
  custom: {
    50: '#eee389',
    500: '#e2d752',
    950: '#000000',
  },
}
SCSS
$custom: #e2d752;
$custom-light: #eee389;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d752",
  "rgb": {
    "r": 226,
    "g": 215,
    "b": 82
  },
  "hsl": {
    "h": 55.417,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.86385,
    "c": 0.15138,
    "h": 104.6
  },
  "luminance": 0.65379
}

Semantic roles & 50–950 ramp

primary
#E2D752
secondary
#363EA2
accent
#21D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D752

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

Preview Lab → · Contrast checker → · Palette generator →

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