#E2C45D#E2C45D

#E2C45D is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.6% C 0.127 H 93.2°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).

Color values

HEX#E2C45D
RGBrgb(226, 196, 93)
HSLhsl(46, 70%, 63%)
HSVhsv(46, 59%, 89%)
CMYKcmyk(0%, 13.3%, 58.8%, 11.4%)
CIE-LABlab(79.86, -1.45, 54.61)
CIE-LCHlch(79.86, 54.63, 91.52°)
OKLaboklab(82.6% -0.0071 0.1266)
OKLCHoklch(82.6% 0.127 93.2)
XYZxyz(53.0820, 56.4416, 18.4521)
Luminance0.5644 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C45D #5D7BE2
analogous
#E2815D #E2C45D #BEE25D
triadic
#E2C45D #5DE2C4 #C45DE2
tetradic
#E2C45D #5DE281 #5D7BE2 #E25DBE
square
#E2C45D #5DE281 #5D7BE2 #E25DBE
split-complementary
#E2C45D #5DBEE2 #815DE2
monochromatic
#A7881E #D9B129 #E2C45D #EBD791 #F5EAC5

Accessibility & contrast

On white

1.71
#E2C45D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.29
#E2C45D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C45D
12.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C45D#FFFFFF#000000##000000
##E2C45D1.001.7112.2912.29
#FFFFFF1.711.0021.0021.00
#00000012.2921.001.001.00
##00000012.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C153
Deuteranopia (green-blind)
#DECA61
Tritanopia (blue-blind)
#F3B6AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c45d;
/* rgb */ color: rgb(226, 196, 93);
/* oklch */ color: oklch(82.6% 0.127 93.2);
Tailwind
colors: {
  custom: {
    50: '#eed58e',
    500: '#e2c45d',
    950: '#000000',
  },
}
SCSS
$custom: #e2c45d;
$custom-light: #eed58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c45d",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 93
  },
  "hsl": {
    "h": 46.466,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.82599,
    "c": 0.12678,
    "h": 93.2
  },
  "luminance": 0.56439
}

Semantic roles & 50–950 ramp

primary
#E2C45D
secondary
#3A53A9
accent
#3FD214
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C45D

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

Preview Lab → · Contrast checker → · Palette generator →

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