#E2D452#E2D452

#E2D452 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.8% C 0.149 H 103.2°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#E2D452
RGBrgb(226, 212, 82)
HSLhsl(54, 71%, 60%)
HSVhsv(54, 64%, 89%)
CMYKcmyk(0%, 6.2%, 63.7%, 11.4%)
CIE-LABlab(83.90, -10.35, 63.84)
CIE-LCHlch(83.90, 64.67, 99.21°)
OKLaboklab(85.76% -0.0338 0.1448)
OKLCHoklch(85.76% 0.149 103.2)
XYZxyz(56.4327, 63.8671, 17.3360)
Luminance0.6387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D452 #5260E2
analogous
#E28C52 #E2D452 #A8E252
triadic
#E2D452 #52E2D4 #D452E2
tetradic
#E2D452 #52E28C #5260E2 #E252A8
square
#E2D452 #52E28C #5260E2 #E252A8
split-complementary
#E2D452 #52A8E2 #8C52E2
monochromatic
#9F921B #D3C223 #E2D452 #EBE186 #F4EEBB

Accessibility & contrast

On white

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

On black

13.77
#E2D452 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D452
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D452#FFFFFF#000000##000000
##E2D4521.001.5213.7713.77
#FFFFFF1.521.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD42
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#F2C6B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d452;
/* rgb */ color: rgb(226, 212, 82);
/* oklch */ color: oklch(85.8% 0.149 103.2);
Tailwind
colors: {
  custom: {
    50: '#eee088',
    500: '#e2d452',
    950: '#000000',
  },
}
SCSS
$custom: #e2d452;
$custom-light: #eee088;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d452",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 54.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.85763,
    "c": 0.14866,
    "h": 103.2
  },
  "luminance": 0.63865
}

Semantic roles & 50–950 ramp

primary
#E2D452
secondary
#3641A2
accent
#25D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D452

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

Preview Lab → · Contrast checker → · Palette generator →

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