#E2C557#E2C557

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

Color values

HEX#E2C557
RGBrgb(226, 197, 87)
HSLhsl(47, 71%, 61%)
HSVhsv(47, 62%, 89%)
CMYKcmyk(0%, 12.8%, 61.5%, 11.4%)
CIE-LABlab(80.06, -2.38, 57.55)
CIE-LCHlch(80.06, 57.60, 92.37°)
OKLaboklab(82.74% -0.0105 0.1321)
OKLCHoklch(82.74% 0.133 94.5)
XYZxyz(53.0529, 56.7920, 17.1825)
Luminance0.5679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2C557 #5774E2
analogous
#E28057 #E2C557 #BAE257
triadic
#E2C557 #57E2C5 #C557E2
tetradic
#E2C557 #57E280 #5774E2 #E257BA
square
#E2C557 #57E280 #5774E2 #E257BA
split-complementary
#E2C557 #57BAE2 #8057E2
monochromatic
#A3861C #D7B225 #E2C557 #EBD78B #F4E9BF

Accessibility & contrast

On white

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

On black

12.36
#E2C557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2C557
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2C557#FFFFFF#000000##000000
##E2C5571.001.7012.3612.36
#FFFFFF1.701.0021.0021.00
#00000012.3621.001.001.00
##00000012.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2c557;
/* rgb */ color: rgb(226, 197, 87);
/* oklch */ color: oklch(82.7% 0.133 94.5);
Tailwind
colors: {
  custom: {
    50: '#eed68a',
    500: '#e2c557',
    950: '#000000',
  },
}
SCSS
$custom: #e2c557;
$custom-light: #eed68a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2c557",
  "rgb": {
    "r": 226,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 47.482,
    "s": 70.558,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82737,
    "c": 0.13253,
    "h": 94.5
  },
  "luminance": 0.56789
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2C557

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

Preview Lab → · Contrast checker → · Palette generator →

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