#E7D456#E7D456

#E7D456 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.146 H 100.7°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#E7D456
RGBrgb(231, 212, 86)
HSLhsl(52, 75%, 62%)
HSVhsv(52, 63%, 91%)
CMYKcmyk(0%, 8.2%, 62.8%, 9.4%)
CIE-LABlab(84.35, -8.03, 62.78)
CIE-LCHlch(84.35, 63.29, 97.29°)
OKLaboklab(86.24% -0.0271 0.143)
OKLCHoklch(86.24% 0.146 100.7)
XYZxyz(58.1805, 64.7502, 18.2357)
Luminance0.6475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D456 #5669E7
analogous
#E78C56 #E7D456 #B2E756
triadic
#E7D456 #56E7D4 #D456E7
tetradic
#E7D456 #56E78C #5669E7 #E756B2
square
#E7D456 #56E78C #5669E7 #E756B2
split-complementary
#E7D456 #56B2E7 #8C56E7
monochromatic
#AA9718 #DFC620 #E7D456 #EFE28C #F6EFC1

Accessibility & contrast

On white

1.51
#E7D456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#E7D456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D456
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D456#FFFFFF#000000##000000
##E7D4561.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE47
Deuteranopia (green-blind)
#ECD65D
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #e7d456;
/* rgb */ color: rgb(231, 212, 86);
/* oklch */ color: oklch(86.2% 0.146 100.7);
Tailwind
colors: {
  custom: {
    50: '#f2e08b',
    500: '#e7d456',
    950: '#000000',
  },
}
SCSS
$custom: #e7d456;
$custom-light: #f2e08b;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d456",
  "rgb": {
    "r": 231,
    "g": 212,
    "b": 86
  },
  "hsl": {
    "h": 52.138,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.86239,
    "c": 0.14551,
    "h": 100.7
  },
  "luminance": 0.64748
}

Semantic roles & 50–950 ramp

primary
#E7D456
secondary
#3545AC
accent
#29D70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E7D456

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

Preview Lab → · Contrast checker → · Palette generator →

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