#E2D54F#E2D54F

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

Color values

HEX#E2D54F
RGBrgb(226, 213, 79)
HSLhsl(55, 72%, 60%)
HSVhsv(55, 65%, 89%)
CMYKcmyk(0%, 5.8%, 65%, 11.4%)
CIE-LABlab(84.13, -11.02, 65.31)
CIE-LCHlch(84.13, 66.23, 99.58°)
OKLaboklab(85.94% -0.0361 0.1474)
OKLCHoklch(85.94% 0.152 103.8)
XYZxyz(56.5718, 64.3239, 16.8315)
Luminance0.6432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D54F #4F5CE2
analogous
#E28C4F #E2D54F #A5E24F
triadic
#E2D54F #4FE2D5 #D54FE2
tetradic
#E2D54F #4FE28C #4F5CE2 #E24FA5
square
#E2D54F #4FE28C #4F5CE2 #E24FA5
split-complementary
#E2D54F #4FA5E2 #8C4FE2
monochromatic
#9D911A #D1C222 #E2D54F #EBE284 #F3EEB8

Accessibility & contrast

On white

1.51
#E2D54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.86
#E2D54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D54F
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D54F#FFFFFF#000000##000000
##E2D54F1.001.5113.8613.86
#FFFFFF1.511.0021.0021.00
#00000013.8621.001.001.00
##00000013.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE3D
Deuteranopia (green-blind)
#EBD557
Tritanopia (blue-blind)
#F2C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d54f;
/* rgb */ color: rgb(226, 213, 79);
/* oklch */ color: oklch(85.9% 0.152 103.8);
Tailwind
colors: {
  custom: {
    50: '#eee187',
    500: '#e2d54f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d54f;
$custom-light: #eee187;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d54f",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 79
  },
  "hsl": {
    "h": 54.694,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85944,
    "c": 0.15177,
    "h": 103.8
  },
  "luminance": 0.64322
}

Semantic roles & 50–950 ramp

primary
#E2D54F
secondary
#353FA0
accent
#49EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D54F

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

Preview Lab → · Contrast checker → · Palette generator →

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