#E2D45E#E2D45E

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

Color values

HEX#E2D45E
RGBrgb(226, 212, 94)
HSLhsl(54, 69%, 63%)
HSVhsv(54, 58%, 89%)
CMYKcmyk(0%, 6.2%, 58.4%, 11.4%)
CIE-LABlab(84.00, -9.56, 58.81)
CIE-LCHlch(84.00, 59.58, 99.23°)
OKLaboklab(85.88% -0.0303 0.1357)
OKLCHoklch(85.88% 0.139 102.6)
XYZxyz(56.9299, 64.0660, 19.9547)
Luminance0.6406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D45E #5E6CE2
analogous
#E2925E #E2D45E #AEE25E
triadic
#E2D45E #5EE2D4 #D45EE2
tetradic
#E2D45E #5EE292 #5E6CE2 #E25EAE
square
#E2D45E #5EE292 #5E6CE2 #E25EAE
split-complementary
#E2D45E #5EAEE2 #925EE2
monochromatic
#A7991E #D9C62A #E2D45E #EBE292 #F5F0C6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2D45E#FFFFFF#000000##000000
##E2D45E1.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)
#E5CE51
Deuteranopia (green-blind)
#EAD464
Tritanopia (blue-blind)
#F2C7BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d45e;
/* rgb */ color: rgb(226, 212, 94);
/* oklch */ color: oklch(85.9% 0.139 102.6);
Tailwind
colors: {
  custom: {
    50: '#eee090',
    500: '#e2d45e',
    950: '#000000',
  },
}
SCSS
$custom: #e2d45e;
$custom-light: #eee090;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d45e",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 94
  },
  "hsl": {
    "h": 53.636,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.85878,
    "c": 0.13905,
    "h": 102.6
  },
  "luminance": 0.64064
}

Semantic roles & 50–950 ramp

primary
#E2D45E
secondary
#3B46AA
accent
#28D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E2D45E

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

Preview Lab → · Contrast checker → · Palette generator →

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