#E7F257#E7F257

#E7F257 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.5% C 0.174 H 113.2°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#E7F257
RGBrgb(231, 242, 87)
HSLhsl(64, 86%, 65%)
HSVhsv(64, 64%, 95%)
CMYKcmyk(4.5%, 0%, 64%, 5.1%)
CIE-LABlab(92.21, -22.71, 70.68)
CIE-LCHlch(92.21, 74.24, 107.81°)
OKLaboklab(92.51% -0.0685 0.1598)
OKLCHoklch(92.51% 0.174 113.2)
XYZxyz(66.4292, 81.1826, 21.1854)
Luminance0.8118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F257 #6257F2
analogous
#F2B057 #E7F257 #9AF257
triadic
#E7F257 #57E7F2 #F257E7
tetradic
#E7F257 #57F2B0 #6257F2 #F2579A
square
#E7F257 #57F2B0 #6257F2 #F2579A
split-complementary
#E7F257 #579AF2 #B057F2
monochromatic
#B3C00F #DFEE1E #E7F257 #EFF690 #F7FBC9

Accessibility & contrast

On white

1.22
#E7F257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#E7F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F257
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F257#FFFFFF#000000##000000
##E7F2571.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE742
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#F6E4D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e7f257;
/* rgb */ color: rgb(231, 242, 87);
/* oklch */ color: oklch(92.5% 0.174 113.2);
Tailwind
colors: {
  custom: {
    50: '#f2f68e',
    500: '#e7f257',
    950: '#000000',
  },
}
SCSS
$custom: #e7f257;
$custom-light: #f2f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f257",
  "rgb": {
    "r": 231,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 64.258,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92505,
    "c": 0.17388,
    "h": 113.2
  },
  "luminance": 0.81181
}

Semantic roles & 50–950 ramp

primary
#E7F257
secondary
#3A30BE
accent
#03E213
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E7F257

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

Preview Lab → · Contrast checker → · Palette generator →

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