#E2D052#E2D052

#E2D052 is a very light, vivid yellow. Relative luminance 0.619; OKLCH L 84.9% C 0.145 H 101.2°. Best body text is #000000 at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#E2D052
RGBrgb(226, 208, 82)
HSLhsl(53, 71%, 60%)
HSVhsv(53, 64%, 89%)
CMYKcmyk(0%, 8%, 63.7%, 11.4%)
CIE-LABlab(82.86, -8.33, 62.73)
CIE-LCHlch(82.86, 63.28, 97.56°)
OKLaboklab(84.94% -0.0281 0.1424)
OKLCHoklch(84.94% 0.145 101.2)
XYZxyz(55.4452, 61.8920, 17.0068)
Luminance0.6189 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D052 #5264E2
analogous
#E28852 #E2D052 #ACE252
triadic
#E2D052 #52E2D0 #D052E2
tetradic
#E2D052 #52E288 #5264E2 #E252AC
square
#E2D052 #52E288 #5264E2 #E252AC
split-complementary
#E2D052 #52ACE2 #8852E2
monochromatic
#9F8E1B #D3BD23 #E2D052 #EBDE86 #F4ECBB

Accessibility & contrast

On white

1.57
#E2D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.38
#E2D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D052
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D052#FFFFFF#000000##000000
##E2D0521.001.5713.3813.38
#FFFFFF1.571.0021.0021.00
#00000013.3821.001.001.00
##00000013.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA43
Deuteranopia (green-blind)
#E7D259
Tritanopia (blue-blind)
#F2C2B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e2d052;
/* rgb */ color: rgb(226, 208, 82);
/* oklch */ color: oklch(84.9% 0.145 101.2);
Tailwind
colors: {
  custom: {
    50: '#eede88',
    500: '#e2d052',
    950: '#000000',
  },
}
SCSS
$custom: #e2d052;
$custom-light: #eede88;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d052",
  "rgb": {
    "r": 226,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 52.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.84936,
    "c": 0.14517,
    "h": 101.2
  },
  "luminance": 0.6189
}

Semantic roles & 50–950 ramp

primary
#E2D052
secondary
#3644A2
accent
#2AD312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D052

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

Preview Lab → · Contrast checker → · Palette generator →

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