#E7C657#E7C657

#E7C657 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 83.4% C 0.134 H 92.7°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#E7C657
RGBrgb(231, 198, 87)
HSLhsl(46, 75%, 62%)
HSVhsv(46, 62%, 91%)
CMYKcmyk(0%, 14.3%, 62.3%, 9.4%)
CIE-LABlab(80.78, -0.81, 58.46)
CIE-LCHlch(80.78, 58.47, 90.79°)
OKLaboklab(83.41% -0.0063 0.1339)
OKLCHoklch(83.41% 0.134 92.7)
XYZxyz(54.8719, 58.0681, 17.3330)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C657 #5778E7
analogous
#E77E57 #E7C657 #C0E757
triadic
#E7C657 #57E7C6 #C657E7
tetradic
#E7C657 #57E77E #5778E7 #E757C0
square
#E7C657 #57E77E #5778E7 #E757C0
split-complementary
#E7C657 #57C0E7 #7E57E7
monochromatic
#AB8A18 #DFB421 #E7C657 #EFD88D #F6EAC2

Accessibility & contrast

On white

1.66
#E7C657 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#E7C657 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C657
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C657#FFFFFF#000000##000000
##E7C6571.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#E2CD5C
Tritanopia (blue-blind)
#F8B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c657;
/* rgb */ color: rgb(231, 198, 87);
/* oklch */ color: oklch(83.4% 0.134 92.7);
Tailwind
colors: {
  custom: {
    50: '#f2d78b',
    500: '#e7c657',
    950: '#000000',
  },
}
SCSS
$custom: #e7c657;
$custom-light: #f2d78b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c657",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 87
  },
  "hsl": {
    "h": 46.25,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83409,
    "c": 0.13408,
    "h": 92.7
  },
  "luminance": 0.58065
}

Semantic roles & 50–950 ramp

primary
#E7C657
secondary
#3651AC
accent
#3CD70E
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140C
muted
#85837F

Preview Lab

Preview with #E7C657

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

Preview Lab → · Contrast checker → · Palette generator →

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