#E2D54E#E2D54E

#E2D54E 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#E2D54E
RGBrgb(226, 213, 78)
HSLhsl(55, 72%, 60%)
HSVhsv(55, 65%, 89%)
CMYKcmyk(0%, 5.8%, 65.5%, 11.4%)
CIE-LABlab(84.13, -11.08, 65.70)
CIE-LCHlch(84.13, 66.63, 99.57°)
OKLaboklab(85.94% -0.0364 0.1481)
OKLCHoklch(85.94% 0.152 103.8)
XYZxyz(56.5356, 64.3095, 16.6412)
Luminance0.6431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D54E #4E5BE2
analogous
#E28B4E #E2D54E #A5E24E
triadic
#E2D54E #4EE2D5 #D54EE2
tetradic
#E2D54E #4EE28B #4E5BE2 #E24EA5
square
#E2D54E #4EE28B #4E5BE2 #E24EA5
split-complementary
#E2D54E #4EA5E2 #8B4EE2
monochromatic
#9C911A #D1C122 #E2D54E #EBE183 #F3EEB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D54E#FFFFFF#000000##000000
##E2D54E1.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)
#E7CE3C
Deuteranopia (green-blind)
#EBD556
Tritanopia (blue-blind)
#F2C7B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e2d54e;
/* rgb */ color: rgb(226, 213, 78);
/* oklch */ color: oklch(85.9% 0.152 103.8);
Tailwind
colors: {
  custom: {
    50: '#eee186',
    500: '#e2d54e',
    950: '#000000',
  },
}
SCSS
$custom: #e2d54e;
$custom-light: #eee186;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d54e",
  "rgb": {
    "r": 226,
    "g": 213,
    "b": 78
  },
  "hsl": {
    "h": 54.73,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.85936,
    "c": 0.15248,
    "h": 103.8
  },
  "luminance": 0.64307
}

Semantic roles & 50–950 ramp

primary
#E2D54E
secondary
#353E9F
accent
#49EF39
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D54E

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

Preview Lab → · Contrast checker → · Palette generator →

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