#E7C558#E7C558

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

Color values

HEX#E7C558
RGBrgb(231, 197, 88)
HSLhsl(46, 75%, 63%)
HSVhsv(46, 62%, 91%)
CMYKcmyk(0%, 14.7%, 61.9%, 9.4%)
CIE-LABlab(80.53, -0.23, 57.75)
CIE-LCHlch(80.53, 57.75, 90.22°)
OKLaboklab(83.22% -0.0045 0.1326)
OKLCHoklch(83.22% 0.133 91.9)
XYZxyz(54.6853, 57.6289, 17.4737)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C558 #587AE7
analogous
#E77D58 #E7C558 #C2E758
triadic
#E7C558 #58E7C5 #C558E7
tetradic
#E7C558 #58E77D #587AE7 #E758C2
square
#E7C558 #58E77D #587AE7 #E758C2
split-complementary
#E7C558 #58C2E7 #7D58E7
monochromatic
#AC8919 #DFB222 #E7C558 #EFD88E #F6EAC3

Accessibility & contrast

On white

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

On black

12.53
#E7C558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C558
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C558#FFFFFF#000000##000000
##E7C5581.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7c558;
/* rgb */ color: rgb(231, 197, 88);
/* oklch */ color: oklch(83.2% 0.133 91.9);
Tailwind
colors: {
  custom: {
    50: '#f2d68b',
    500: '#e7c558',
    950: '#000000',
  },
}
SCSS
$custom: #e7c558;
$custom-light: #f2d68b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c558",
  "rgb": {
    "r": 231,
    "g": 197,
    "b": 88
  },
  "hsl": {
    "h": 45.734,
    "s": 74.869,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83219,
    "c": 0.13263,
    "h": 91.9
  },
  "luminance": 0.57626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7C558

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

Preview Lab → · Contrast checker → · Palette generator →

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