#E7C656#E7C656

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

Color values

HEX#E7C656
RGBrgb(231, 198, 86)
HSLhsl(46, 75%, 62%)
HSVhsv(46, 63%, 91%)
CMYKcmyk(0%, 14.3%, 62.8%, 9.4%)
CIE-LABlab(80.77, -0.87, 58.90)
CIE-LCHlch(80.77, 58.90, 90.85°)
OKLaboklab(83.4% -0.0066 0.1347)
OKLCHoklch(83.4% 0.135 92.8)
XYZxyz(54.8314, 58.0519, 17.1193)
Luminance0.5805 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C656 #5677E7
analogous
#E77E56 #E7C656 #C0E756
triadic
#E7C656 #56E7C6 #C656E7
tetradic
#E7C656 #56E77E #5677E7 #E756C0
square
#E7C656 #56E77E #5677E7 #E756C0
split-complementary
#E7C656 #56C0E7 #7E56E7
monochromatic
#AA8918 #DFB420 #E7C656 #EFD88C #F6EAC1

Accessibility & contrast

On white

1.67
#E7C656 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7C656#FFFFFF#000000##000000
##E7C6561.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34A
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#F9B8AE
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #e7c656;
/* rgb */ color: rgb(231, 198, 86);
/* oklch */ color: oklch(83.4% 0.135 92.8);
Tailwind
colors: {
  custom: {
    50: '#f2d78a',
    500: '#e7c656',
    950: '#000000',
  },
}
SCSS
$custom: #e7c656;
$custom-light: #f2d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c656",
  "rgb": {
    "r": 231,
    "g": 198,
    "b": 86
  },
  "hsl": {
    "h": 46.345,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.83399,
    "c": 0.13487,
    "h": 92.8
  },
  "luminance": 0.58049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7C656

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

Preview Lab → · Contrast checker → · Palette generator →

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