#E2D45A#E2D45A

#E2D45A is a very light, vivid yellow. Relative luminance 0.640; OKLCH L 85.8% C 0.142 H 102.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#E2D45A
RGBrgb(226, 212, 90)
HSLhsl(54, 70%, 62%)
HSVhsv(54, 60%, 89%)
CMYKcmyk(0%, 6.2%, 60.2%, 11.4%)
CIE-LABlab(83.96, -9.84, 60.52)
CIE-LCHlch(83.96, 61.32, 99.23°)
OKLaboklab(85.84% -0.0315 0.1389)
OKLCHoklch(85.84% 0.142 102.8)
XYZxyz(56.7551, 63.9960, 19.0338)
Luminance0.6399 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D45A #5A68E2
analogous
#E2905A #E2D45A #ACE25A
triadic
#E2D45A #5AE2D4 #D45AE2
tetradic
#E2D45A #5AE290 #5A68E2 #E25AAC
square
#E2D45A #5AE290 #5A68E2 #E25AAC
split-complementary
#E2D45A #5AACE2 #905AE2
monochromatic
#A5971D #D9C626 #E2D45A #EBE28E #F4EFC2

Accessibility & contrast

On white

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

On black

13.80
#E2D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D45A
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D45A#FFFFFF#000000##000000
##E2D45A1.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2d45a;
/* rgb */ color: rgb(226, 212, 90);
/* oklch */ color: oklch(85.8% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#eee08d',
    500: '#e2d45a',
    950: '#000000',
  },
}
SCSS
$custom: #e2d45a;
$custom-light: #eee08d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d45a",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 53.824,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.85838,
    "c": 0.14238,
    "h": 102.8
  },
  "luminance": 0.63994
}

Semantic roles & 50–950 ramp

primary
#E2D45A
secondary
#3944A7
accent
#27D213
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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