#E7E456#E7E456

#E7E456 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.6% C 0.160 H 108.1°. Best body text is #000000 at 15.63:1 contrast (WCAG AA passes).

Color values

HEX#E7E456
RGBrgb(231, 228, 86)
HSLhsl(59, 75%, 62%)
HSVhsv(59, 63%, 91%)
CMYKcmyk(0%, 1.3%, 62.8%, 9.4%)
CIE-LABlab(88.52, -16.00, 67.21)
CIE-LCHlch(88.52, 69.09, 103.39°)
OKLaboklab(89.55% -0.0497 0.1523)
OKLCHoklch(89.55% 0.16 108.1)
XYZxyz(62.3802, 73.1495, 19.6356)
Luminance0.7315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E456 #5659E7
analogous
#E79C56 #E7E456 #A1E756
triadic
#E7E456 #56E7E4 #E456E7
tetradic
#E7E456 #56E79C #5659E7 #E756A1
square
#E7E456 #56E79C #5659E7 #E756A1
split-complementary
#E7E456 #56A1E7 #9C56E7
monochromatic
#AAA718 #DFDB20 #E7E456 #EFED8C #F6F5C1

Accessibility & contrast

On white

1.34
#E7E456 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.63
#E7E456 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E456
15.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E456#FFFFFF#000000##000000
##E7E4561.001.3415.6315.63
#FFFFFF1.341.0021.0021.00
#00000015.6321.001.001.00
##00000015.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB44
Deuteranopia (green-blind)
#F8E15F
Tritanopia (blue-blind)
#F7D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e456;
/* rgb */ color: rgb(231, 228, 86);
/* oklch */ color: oklch(89.6% 0.160 108.1);
Tailwind
colors: {
  custom: {
    50: '#f2ec8c',
    500: '#e7e456',
    950: '#000000',
  },
}
SCSS
$custom: #e7e456;
$custom-light: #f2ec8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e456",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 86
  },
  "hsl": {
    "h": 58.759,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.89551,
    "c": 0.16025,
    "h": 108.1
  },
  "luminance": 0.73148
}

Semantic roles & 50–950 ramp

primary
#E7E456
secondary
#3538AC
accent
#12D70E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E7E456

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

Preview Lab → · Contrast checker → · Palette generator →

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