#E7E357#E7E357

#E7E357 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.4% C 0.159 H 107.6°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#E7E357
RGBrgb(231, 227, 87)
HSLhsl(58, 75%, 62%)
HSVhsv(58, 62%, 91%)
CMYKcmyk(0%, 1.7%, 62.3%, 9.4%)
CIE-LABlab(88.26, -15.44, 66.54)
CIE-LCHlch(88.26, 68.31, 103.07°)
OKLaboklab(89.35% -0.0481 0.1511)
OKLCHoklch(89.35% 0.159 107.6)
XYZxyz(62.1465, 72.6171, 19.7578)
Luminance0.7261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E357 #575BE7
analogous
#E79B57 #E7E357 #A3E757
triadic
#E7E357 #57E7E3 #E357E7
tetradic
#E7E357 #57E79B #575BE7 #E757A3
square
#E7E357 #57E79B #575BE7 #E757A3
split-complementary
#E7E357 #57A3E7 #9B57E7
monochromatic
#ABA718 #DFDA21 #E7E357 #EFEC8D #F6F5C2

Accessibility & contrast

On white

1.35
#E7E357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#E7E357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E357
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E357#FFFFFF#000000##000000
##E7E3571.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DB45
Deuteranopia (green-blind)
#F7E060
Tritanopia (blue-blind)
#F7D5C6
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e7e357;
/* rgb */ color: rgb(231, 227, 87);
/* oklch */ color: oklch(89.4% 0.159 107.6);
Tailwind
colors: {
  custom: {
    50: '#f2eb8d',
    500: '#e7e357',
    950: '#000000',
  },
}
SCSS
$custom: #e7e357;
$custom-light: #f2eb8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e357",
  "rgb": {
    "r": 231,
    "g": 227,
    "b": 87
  },
  "hsl": {
    "h": 58.333,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.89351,
    "c": 0.15852,
    "h": 107.6
  },
  "luminance": 0.72615
}

Semantic roles & 50–950 ramp

primary
#E7E357
secondary
#3639AC
accent
#14D70E
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E7E357

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

Preview Lab → · Contrast checker → · Palette generator →

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