#E2D45D#E2D45D

#E2D45D is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.9% C 0.140 H 102.6°. Best body text is #000000 at 13.81:1 contrast (WCAG AA passes).

Color values

HEX#E2D45D
RGBrgb(226, 212, 93)
HSLhsl(54, 70%, 63%)
HSVhsv(54, 59%, 89%)
CMYKcmyk(0%, 6.2%, 58.8%, 11.4%)
CIE-LABlab(83.99, -9.63, 59.24)
CIE-LCHlch(83.99, 60.02, 99.23°)
OKLaboklab(85.87% -0.0306 0.1365)
OKLCHoklch(85.87% 0.14 102.6)
XYZxyz(56.8853, 64.0482, 19.7199)
Luminance0.6405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D45D #5D6BE2
analogous
#E2915D #E2D45D #AEE25D
triadic
#E2D45D #5DE2D4 #D45DE2
tetradic
#E2D45D #5DE291 #5D6BE2 #E25DAE
square
#E2D45D #5DE291 #5D6BE2 #E25DAE
split-complementary
#E2D45D #5DAEE2 #915DE2
monochromatic
#A7981E #D9C629 #E2D45D #EBE291 #F5F0C5

Accessibility & contrast

On white

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

On black

13.81
#E2D45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D45D
13.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D45D#FFFFFF#000000##000000
##E2D45D1.001.5213.8113.81
#FFFFFF1.521.0021.0021.00
#00000013.8121.001.001.00
##00000013.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CE50
Deuteranopia (green-blind)
#EAD463
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d45d;
/* rgb */ color: rgb(226, 212, 93);
/* oklch */ color: oklch(85.9% 0.140 102.6);
Tailwind
colors: {
  custom: {
    50: '#eee08f',
    500: '#e2d45d',
    950: '#000000',
  },
}
SCSS
$custom: #e2d45d;
$custom-light: #eee08f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d45d",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 93
  },
  "hsl": {
    "h": 53.684,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.85868,
    "c": 0.13989,
    "h": 102.6
  },
  "luminance": 0.64046
}

Semantic roles & 50–950 ramp

primary
#E2D45D
secondary
#3A46A9
accent
#28D214
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D45D

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

Preview Lab → · Contrast checker → · Palette generator →

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