#E7C756#E7C756

#E7C756 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.6% C 0.136 H 93.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#E7C756
RGBrgb(231, 199, 86)
HSLhsl(47, 75%, 62%)
HSVhsv(47, 63%, 91%)
CMYKcmyk(0%, 13.9%, 62.8%, 9.4%)
CIE-LABlab(81.02, -1.39, 59.17)
CIE-LCHlch(81.02, 59.19, 91.34°)
OKLaboklab(83.6% -0.0081 0.1353)
OKLCHoklch(83.6% 0.136 93.4)
XYZxyz(55.0607, 58.5105, 17.1958)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7C756 #5676E7
analogous
#E77F56 #E7C756 #BEE756
triadic
#E7C756 #56E7C7 #C756E7
tetradic
#E7C756 #56E77F #5676E7 #E756BE
square
#E7C756 #56E77F #5676E7 #E756BE
split-complementary
#E7C756 #56BEE7 #7F56E7
monochromatic
#AA8A18 #DFB520 #E7C756 #EFD98C #F6EBC1

Accessibility & contrast

On white

1.65
#E7C756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#E7C756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7C756
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7C756#FFFFFF#000000##000000
##E7C7561.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#F8B9AF
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #e7c756;
/* rgb */ color: rgb(231, 199, 86);
/* oklch */ color: oklch(83.6% 0.136 93.4);
Tailwind
colors: {
  custom: {
    50: '#f2d78a',
    500: '#e7c756',
    950: '#000000',
  },
}
SCSS
$custom: #e7c756;
$custom-light: #f2d78a;
$custom-dark: #000000;
JSON
{
  "hex": "#e7c756",
  "rgb": {
    "r": 231,
    "g": 199,
    "b": 86
  },
  "hsl": {
    "h": 46.759,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.836,
    "c": 0.13554,
    "h": 93.4
  },
  "luminance": 0.58508
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7C756

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

Preview Lab → · Contrast checker → · Palette generator →

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