#E7D756#E7D756

#E7D756 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 86.9% C 0.148 H 102.2°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#E7D756
RGBrgb(231, 215, 86)
HSLhsl(53, 75%, 62%)
HSVhsv(53, 63%, 91%)
CMYKcmyk(0%, 6.9%, 62.8%, 9.4%)
CIE-LABlab(85.13, -9.54, 63.61)
CIE-LCHlch(85.13, 64.33, 98.53°)
OKLaboklab(86.86% -0.0314 0.1447)
OKLCHoklch(86.86% 0.148 102.2)
XYZxyz(58.9375, 66.2640, 18.4880)
Luminance0.6626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D756 #5666E7
analogous
#E78E56 #E7D756 #AFE756
triadic
#E7D756 #56E7D7 #D756E7
tetradic
#E7D756 #56E78E #5666E7 #E756AF
square
#E7D756 #56E78E #5666E7 #E756AF
split-complementary
#E7D756 #56AFE7 #8E56E7
monochromatic
#AA9A18 #DFCA20 #E7D756 #EFE48C #F6F0C1

Accessibility & contrast

On white

1.47
#E7D756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#E7D756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D756
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D756#FFFFFF#000000##000000
##E7D7561.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D146
Deuteranopia (green-blind)
#EED85D
Tritanopia (blue-blind)
#F8C9BC
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e7d756;
/* rgb */ color: rgb(231, 215, 86);
/* oklch */ color: oklch(86.9% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#f2e38b',
    500: '#e7d756',
    950: '#000000',
  },
}
SCSS
$custom: #e7d756;
$custom-light: #f2e38b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d756",
  "rgb": {
    "r": 231,
    "g": 215,
    "b": 86
  },
  "hsl": {
    "h": 53.379,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86855,
    "c": 0.1481,
    "h": 102.2
  },
  "luminance": 0.66262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7D756

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

Preview Lab → · Contrast checker → · Palette generator →

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