#E7E457#E7E457

#E7E457 is a very light, vivid yellow. Relative luminance 0.732; 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#E7E457
RGBrgb(231, 228, 87)
HSLhsl(59, 75%, 62%)
HSVhsv(59, 62%, 91%)
CMYKcmyk(0%, 1.3%, 62.3%, 9.4%)
CIE-LABlab(88.53, -15.94, 66.82)
CIE-LCHlch(88.53, 68.69, 103.41°)
OKLaboklab(89.56% -0.0494 0.1517)
OKLCHoklch(89.56% 0.16 108.1)
XYZxyz(62.4208, 73.1657, 19.8493)
Luminance0.7316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E457 #575AE7
analogous
#E79C57 #E7E457 #A2E757
triadic
#E7E457 #57E7E4 #E457E7
tetradic
#E7E457 #57E79C #575AE7 #E757A2
square
#E7E457 #57E79C #575AE7 #E757A2
split-complementary
#E7E457 #57A2E7 #9C57E7
monochromatic
#ABA818 #DFDB21 #E7E457 #EFED8D #F6F5C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7E457#FFFFFF#000000##000000
##E7E4571.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)
#F6DB45
Deuteranopia (green-blind)
#F8E160
Tritanopia (blue-blind)
#F7D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e7e457;
/* rgb */ color: rgb(231, 228, 87);
/* oklch */ color: oklch(89.6% 0.160 108.1);
Tailwind
colors: {
  custom: {
    50: '#f2ec8d',
    500: '#e7e457',
    950: '#000000',
  },
}
SCSS
$custom: #e7e457;
$custom-light: #f2ec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e457",
  "rgb": {
    "r": 231,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 58.75,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.8956,
    "c": 0.15951,
    "h": 108.1
  },
  "luminance": 0.73164
}

Semantic roles & 50–950 ramp

primary
#E7E457
secondary
#3638AC
accent
#13D70E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E457

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

Preview Lab → · Contrast checker → · Palette generator →

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