#E7C557#E7C557

#E7C557 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 83.2% C 0.133 H 92.1°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#E7C557
RGBrgb(231, 197, 87)
HSLhsl(46, 75%, 62%)
HSVhsv(46, 62%, 91%)
CMYKcmyk(0%, 14.7%, 62.3%, 9.4%)
CIE-LABlab(80.52, -0.29, 58.18)
CIE-LCHlch(80.52, 58.18, 90.29°)
OKLaboklab(83.21% -0.0048 0.1333)
OKLCHoklch(83.21% 0.133 92.1)
XYZxyz(54.6441, 57.6125, 17.2571)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C557 #5779E7
analogous
#E77D57 #E7C557 #C1E757
triadic
#E7C557 #57E7C5 #C557E7
tetradic
#E7C557 #57E77D #5779E7 #E757C1
square
#E7C557 #57E77D #5779E7 #E757C1
split-complementary
#E7C557 #57C1E7 #7D57E7
monochromatic
#AB8918 #DFB321 #E7C557 #EFD78D #F6EAC2

Accessibility & contrast

On white

1.68
#E7C557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#E7C557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C557
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C557#FFFFFF#000000##000000
##E7C5571.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24B
Deuteranopia (green-blind)
#E1CC5C
Tritanopia (blue-blind)
#F9B7AD
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c557;
/* rgb */ color: rgb(231, 197, 87);
/* oklch */ color: oklch(83.2% 0.133 92.1);
Tailwind
colors: {
  custom: {
    50: '#f2d68a',
    500: '#e7c557',
    950: '#000000',
  },
}
SCSS
$custom: #e7c557;
$custom-light: #f2d68a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c557",
  "rgb": {
    "r": 231,
    "g": 197,
    "b": 87
  },
  "hsl": {
    "h": 45.833,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83209,
    "c": 0.13343,
    "h": 92.1
  },
  "luminance": 0.5761
}

Semantic roles & 50–950 ramp

primary
#E7C557
secondary
#3652AC
accent
#3ED70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C557

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

Preview Lab → · Contrast checker → · Palette generator →

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