#E2D54A#E2D54A

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

Color values

HEX#E2D54A
RGBrgb(226, 213, 74)
HSLhsl(55, 72%, 59%)
HSVhsv(55, 67%, 89%)
CMYKcmyk(0%, 5.8%, 67.3%, 11.4%)
CIE-LABlab(84.10, -11.30, 67.24)
CIE-LCHlch(84.10, 68.19, 99.54°)
OKLaboklab(85.9% -0.0374 0.1507)
OKLCHoklch(85.9% 0.155 103.9)
XYZxyz(56.3966, 64.2539, 15.9088)
Luminance0.6425 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D54A #4A57E2
analogous
#E2894A #E2D54A #A3E24A
triadic
#E2D54A #4AE2D5 #D54AE2
tetradic
#E2D54A #4AE289 #4A57E2 #E24AA3
square
#E2D54A #4AE289 #4A57E2 #E24AA3
split-complementary
#E2D54A #4AA3E2 #894AE2
monochromatic
#998E19 #CEBF21 #E2D54A #EAE17F #F3EDB3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D54A#FFFFFF#000000##000000
##E2D54A1.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)
#E7CE36
Deuteranopia (green-blind)
#ECD553
Tritanopia (blue-blind)
#F2C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d54a;
/* rgb */ color: rgb(226, 213, 74);
/* oklch */ color: oklch(85.9% 0.155 103.9);
Tailwind
colors: {
  custom: {
    50: '#efe184',
    500: '#e2d54a',
    950: '#000000',
  },
}
SCSS
$custom: #e2d54a;
$custom-light: #efe184;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d54a",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 54.868,
    "s": 72.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.85904,
    "c": 0.15528,
    "h": 103.9
  },
  "luminance": 0.64252
}

Semantic roles & 50–950 ramp

primary
#E2D54A
secondary
#333C9D
accent
#48EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E2D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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