#E2C45A#E2C45A

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

Color values

HEX#E2C45A
RGBrgb(226, 196, 90)
HSLhsl(47, 70%, 62%)
HSVhsv(47, 60%, 89%)
CMYKcmyk(0%, 13.3%, 60.2%, 11.4%)
CIE-LABlab(79.83, -1.66, 55.94)
CIE-LCHlch(79.83, 55.97, 91.70°)
OKLaboklab(82.57% -0.0081 0.1291)
OKLCHoklch(82.57% 0.129 93.6)
XYZxyz(52.9518, 56.3894, 17.7660)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C45A #5A78E2
analogous
#E2805A #E2C45A #BCE25A
triadic
#E2C45A #5AE2C4 #C45AE2
tetradic
#E2C45A #5AE280 #5A78E2 #E25ABC
square
#E2C45A #5AE280 #5A78E2 #E25ABC
split-complementary
#E2C45A #5ABCE2 #805AE2
monochromatic
#A5871D #D9B126 #E2C45A #EBD78E #F4E9C2

Accessibility & contrast

On white

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

On black

12.28
#E2C45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C45A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C45A#FFFFFF#000000##000000
##E2C45A1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c45a;
/* rgb */ color: rgb(226, 196, 90);
/* oklch */ color: oklch(82.6% 0.129 93.6);
Tailwind
colors: {
  custom: {
    50: '#eed58c',
    500: '#e2c45a',
    950: '#000000',
  },
}
SCSS
$custom: #e2c45a;
$custom-light: #eed58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c45a",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 90
  },
  "hsl": {
    "h": 46.765,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82566,
    "c": 0.12933,
    "h": 93.6
  },
  "luminance": 0.56387
}

Semantic roles & 50–950 ramp

primary
#E2C45A
secondary
#3951A7
accent
#3DD213
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C45A

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

Preview Lab → · Contrast checker → · Palette generator →

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