#E7D856#E7D856

#E7D856 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.1% C 0.149 H 102.7°. Best body text is #000000 at 14.35:1 contrast (WCAG AA passes).

Color values

HEX#E7D856
RGBrgb(231, 216, 86)
HSLhsl(54, 75%, 62%)
HSVhsv(54, 63%, 91%)
CMYKcmyk(0%, 6.5%, 62.8%, 9.4%)
CIE-LABlab(85.39, -10.04, 63.89)
CIE-LCHlch(85.39, 64.68, 98.93°)
OKLaboklab(87.06% -0.0328 0.1453)
OKLCHoklch(87.06% 0.149 102.7)
XYZxyz(59.1929, 66.7749, 18.5731)
Luminance0.6677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D856 #5665E7
analogous
#E79056 #E7D856 #AEE756
triadic
#E7D856 #56E7D8 #D856E7
tetradic
#E7D856 #56E790 #5665E7 #E756AE
square
#E7D856 #56E790 #5665E7 #E756AE
split-complementary
#E7D856 #56AEE7 #9056E7
monochromatic
#AA9B18 #DFCC20 #E7D856 #EFE48C #F6F1C1

Accessibility & contrast

On white

1.46
#E7D856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.35
#E7D856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D856
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D856#FFFFFF#000000##000000
##E7D8561.001.4614.3514.35
#FFFFFF1.461.0021.0021.00
#00000014.3521.001.001.00
##00000014.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD146
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#F7CABD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d856;
/* rgb */ color: rgb(231, 216, 86);
/* oklch */ color: oklch(87.1% 0.149 102.7);
Tailwind
colors: {
  custom: {
    50: '#f2e38b',
    500: '#e7d856',
    950: '#000000',
  },
}
SCSS
$custom: #e7d856;
$custom-light: #f2e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d856",
  "rgb": {
    "r": 231,
    "g": 216,
    "b": 86
  },
  "hsl": {
    "h": 53.793,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.87061,
    "c": 0.14898,
    "h": 102.7
  },
  "luminance": 0.66773
}

Semantic roles & 50–950 ramp

primary
#E7D856
secondary
#3542AC
accent
#23D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D856

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

Preview Lab → · Contrast checker → · Palette generator →

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