#E2C556#E2C556

#E2C556 is a very light, vivid yellow. Relative luminance 0.568; OKLCH L 82.7% C 0.133 H 94.6°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#E2C556
RGBrgb(226, 197, 86)
HSLhsl(48, 71%, 61%)
HSVhsv(48, 62%, 89%)
CMYKcmyk(0%, 12.8%, 61.9%, 11.4%)
CIE-LABlab(80.05, -2.45, 57.98)
CIE-LCHlch(80.05, 58.03, 92.42°)
OKLaboklab(82.73% -0.0108 0.1329)
OKLCHoklch(82.73% 0.133 94.6)
XYZxyz(53.0124, 56.7758, 16.9688)
Luminance0.5677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C556 #5673E2
analogous
#E27F56 #E2C556 #B9E256
triadic
#E2C556 #56E2C5 #C556E2
tetradic
#E2C556 #56E27F #5673E2 #E256B9
square
#E2C556 #56E27F #5673E2 #E256B9
split-complementary
#E2C556 #56B9E2 #7F56E2
monochromatic
#A2861C #D6B125 #E2C556 #EBD78A #F4E9BE

Accessibility & contrast

On white

1.70
#E2C556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#E2C556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C556
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C556#FFFFFF#000000##000000
##E2C5561.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14A
Deuteranopia (green-blind)
#DFCA5B
Tritanopia (blue-blind)
#F3B7AD
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #e2c556;
/* rgb */ color: rgb(226, 197, 86);
/* oklch */ color: oklch(82.7% 0.133 94.6);
Tailwind
colors: {
  custom: {
    50: '#eed68a',
    500: '#e2c556',
    950: '#000000',
  },
}
SCSS
$custom: #e2c556;
$custom-light: #eed68a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c556",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 47.571,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82727,
    "c": 0.13334,
    "h": 94.6
  },
  "luminance": 0.56773
}

Semantic roles & 50–950 ramp

primary
#E2C556
secondary
#384EA5
accent
#3BD313
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E2C556

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

Preview Lab → · Contrast checker → · Palette generator →

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