#E7F156#E7F156

#E7F156 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.3% C 0.174 H 112.9°. Best body text is #000000 at 17.11:1 contrast (WCAG AA passes).

Color values

HEX#E7F156
RGBrgb(231, 241, 86)
HSLhsl(64, 85%, 64%)
HSVhsv(64, 64%, 95%)
CMYKcmyk(4.1%, 0%, 64.3%, 5.5%)
CIE-LABlab(91.94, -22.30, 70.79)
CIE-LCHlch(91.94, 74.21, 107.48°)
OKLaboklab(92.29% -0.0675 0.1599)
OKLCHoklch(92.29% 0.174 112.9)
XYZxyz(66.0918, 80.5728, 20.8728)
Luminance0.8057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F156 #6056F1
analogous
#F1AE56 #E7F156 #9AF156
triadic
#E7F156 #56E7F1 #F156E7
tetradic
#E7F156 #56F1AE #6056F1 #F1569A
square
#E7F156 #56F1AE #6056F1 #F1569A
split-complementary
#E7F156 #569AF1 #AE56F1
monochromatic
#B2BD10 #DFEC1D #E7F156 #EFF68F #F7FAC7

Accessibility & contrast

On white

1.23
#E7F156 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.11
#E7F156 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F156
17.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F156#FFFFFF#000000##000000
##E7F1561.001.2317.1117.11
#FFFFFF1.231.0021.0021.00
#00000017.1121.001.001.00
##00000017.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE641
Deuteranopia (green-blind)
#FFEA61
Tritanopia (blue-blind)
#F6E3D1
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e7f156;
/* rgb */ color: rgb(231, 241, 86);
/* oklch */ color: oklch(92.3% 0.174 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f58d',
    500: '#e7f156',
    950: '#000000',
  },
}
SCSS
$custom: #e7f156;
$custom-light: #f2f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f156",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 86
  },
  "hsl": {
    "h": 63.871,
    "s": 84.699,
    "l": 64.118
  },
  "oklch": {
    "l": 0.92285,
    "c": 0.17353,
    "h": 112.9
  },
  "luminance": 0.80571
}

Semantic roles & 50–950 ramp

primary
#E7F156
secondary
#3930BB
accent
#04E113
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E7F156

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

Preview Lab → · Contrast checker → · Palette generator →

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