#E2D548#E2D548

#E2D548 is a very light, vivid yellow. Relative luminance 0.642; OKLCH L 85.9% C 0.157 H 104.0°. Best body text is #000000 at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#E2D548
RGBrgb(226, 213, 72)
HSLhsl(55, 73%, 58%)
HSVhsv(55, 68%, 89%)
CMYKcmyk(0%, 5.8%, 68.1%, 11.4%)
CIE-LABlab(84.08, -11.41, 68.00)
CIE-LCHlch(84.08, 68.95, 99.52°)
OKLaboklab(85.89% -0.0379 0.152)
OKLCHoklch(85.89% 0.157 104)
XYZxyz(56.3303, 64.2273, 15.5596)
Luminance0.6422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D548 #4855E2
analogous
#E28848 #E2D548 #A2E248
triadic
#E2D548 #48E2D5 #D548E2
tetradic
#E2D548 #48E288 #4855E2 #E248A2
square
#E2D548 #48E288 #4855E2 #E248A2
split-complementary
#E2D548 #48A2E2 #8848E2
monochromatic
#988D18 #CCBE20 #E2D548 #EAE17D #F3EDB2

Accessibility & contrast

On white

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

On black

13.85
#E2D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D548
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D548#FFFFFF#000000##000000
##E2D5481.001.5213.8513.85
#FFFFFF1.521.0021.0021.00
#00000013.8521.001.001.00
##00000013.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE33
Deuteranopia (green-blind)
#ECD551
Tritanopia (blue-blind)
#F3C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d548;
/* rgb */ color: rgb(226, 213, 72);
/* oklch */ color: oklch(85.9% 0.157 104.0);
Tailwind
colors: {
  custom: {
    50: '#efe183',
    500: '#e2d548',
    950: '#000000',
  },
}
SCSS
$custom: #e2d548;
$custom-light: #efe183;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d548",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 54.935,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.85888,
    "c": 0.15662,
    "h": 104
  },
  "luminance": 0.64225
}

Semantic roles & 50–950 ramp

primary
#E2D548
secondary
#333C9C
accent
#48EF38
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D548

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

Preview Lab → · Contrast checker → · Palette generator →

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