#E7E957#E7E957

#E7E957 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.165 H 110.0°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#E7E957
RGBrgb(231, 233, 87)
HSLhsl(61, 77%, 63%)
HSVhsv(61, 63%, 91%)
CMYKcmyk(0.9%, 0%, 62.7%, 8.6%)
CIE-LABlab(89.84, -18.38, 68.20)
CIE-LCHlch(89.84, 70.63, 105.08°)
OKLaboklab(90.61% -0.0563 0.1546)
OKLCHoklch(90.61% 0.165 110)
XYZxyz(63.8162, 75.9566, 20.3144)
Luminance0.7595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7E957 #5957E9
analogous
#E9A257 #E7E957 #9EE957
triadic
#E7E957 #57E7E9 #E957E7
tetradic
#E7E957 #57E9A2 #5957E9 #E9579E
square
#E7E957 #57E9A2 #5957E9 #E9579E
split-complementary
#E7E957 #579EE9 #A257E9
monochromatic
#ADAF17 #DFE221 #E7E957 #EFF08D #F6F7C3

Accessibility & contrast

On white

1.30
#E7E957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#E7E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7E957
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7E957#FFFFFF#000000##000000
##E7E9571.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAE044
Deuteranopia (green-blind)
#FCE460
Tritanopia (blue-blind)
#F6DBCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e7e957;
/* rgb */ color: rgb(231, 233, 87);
/* oklch */ color: oklch(90.6% 0.165 110.0);
Tailwind
colors: {
  custom: {
    50: '#f2ef8d',
    500: '#e7e957',
    950: '#000000',
  },
}
SCSS
$custom: #e7e957;
$custom-light: #f2ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7e957",
  "rgb": {
    "r": 231,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 60.822,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90607,
    "c": 0.16452,
    "h": 110
  },
  "luminance": 0.75955
}

Semantic roles & 50–950 ramp

primary
#E7E957
secondary
#3635AF
accent
#0CD90F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E7E957

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

Preview Lab → · Contrast checker → · Palette generator →

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