#E2D545#E2D545

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

Color values

HEX#E2D545
RGBrgb(226, 213, 69)
HSLhsl(55, 73%, 58%)
HSVhsv(55, 69%, 89%)
CMYKcmyk(0%, 5.8%, 69.5%, 11.4%)
CIE-LABlab(84.06, -11.56, 69.10)
CIE-LCHlch(84.06, 70.06, 99.50°)
OKLaboklab(85.87% -0.0387 0.1538)
OKLCHoklch(85.87% 0.159 104.1)
XYZxyz(56.2348, 64.1891, 15.0567)
Luminance0.6419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D545 #4552E2
analogous
#E28745 #E2D545 #A0E245
triadic
#E2D545 #45E2D5 #D545E2
tetradic
#E2D545 #45E287 #4552E2 #E245A0
square
#E2D545 #45E287 #4552E2 #E245A0
split-complementary
#E2D545 #45A0E2 #8745E2
monochromatic
#958B17 #CABC20 #E2D545 #EAE17A #F3EDAF

Accessibility & contrast

On white

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

On black

13.84
#E2D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D545
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D545#FFFFFF#000000##000000
##E2D5451.001.5213.8413.84
#FFFFFF1.521.0021.0021.00
#00000013.8421.001.001.00
##00000013.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE2E
Deuteranopia (green-blind)
#ECD54F
Tritanopia (blue-blind)
#F3C7B8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d545;
/* rgb */ color: rgb(226, 213, 69);
/* oklch */ color: oklch(85.9% 0.159 104.1);
Tailwind
colors: {
  custom: {
    50: '#efe181',
    500: '#e2d545',
    950: '#000000',
  },
}
SCSS
$custom: #e2d545;
$custom-light: #efe181;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d545",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 55.032,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.85866,
    "c": 0.15857,
    "h": 104.1
  },
  "luminance": 0.64187
}

Semantic roles & 50–950 ramp

primary
#E2D545
secondary
#323A9A
accent
#47F038
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D545

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

Preview Lab → · Contrast checker → · Palette generator →

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