#E2C456#E2C456

#E2C456 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.5% C 0.133 H 94.0°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#E2C456
RGBrgb(226, 196, 86)
HSLhsl(47, 71%, 61%)
HSVhsv(47, 62%, 89%)
CMYKcmyk(0%, 13.3%, 61.9%, 11.4%)
CIE-LABlab(79.80, -1.93, 57.70)
CIE-LCHlch(79.80, 57.73, 91.92°)
OKLaboklab(82.53% -0.0093 0.1323)
OKLCHoklch(82.53% 0.133 94)
XYZxyz(52.7861, 56.3232, 16.8934)
Luminance0.5632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C456 #5674E2
analogous
#E27E56 #E2C456 #BAE256
triadic
#E2C456 #56E2C4 #C456E2
tetradic
#E2C456 #56E27E #5674E2 #E256BA
square
#E2C456 #56E27E #5674E2 #E256BA
split-complementary
#E2C456 #56BAE2 #7E56E2
monochromatic
#A2851C #D6B025 #E2C456 #EBD68A #F4E8BE

Accessibility & contrast

On white

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

On black

12.26
#E2C456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C456
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C456#FFFFFF#000000##000000
##E2C4561.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C14A
Deuteranopia (green-blind)
#DECA5B
Tritanopia (blue-blind)
#F3B6AC
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c456;
/* rgb */ color: rgb(226, 196, 86);
/* oklch */ color: oklch(82.5% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#eed58a',
    500: '#e2c456',
    950: '#000000',
  },
}
SCSS
$custom: #e2c456;
$custom-light: #eed58a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c456",
  "rgb": {
    "r": 226,
    "g": 196,
    "b": 86
  },
  "hsl": {
    "h": 47.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82525,
    "c": 0.13263,
    "h": 94
  },
  "luminance": 0.5632
}

Semantic roles & 50–950 ramp

primary
#E2C456
secondary
#384FA5
accent
#3CD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C456

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

Preview Lab → · Contrast checker → · Palette generator →

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