#E7F159#E7F159

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

Color values

HEX#E7F159
RGBrgb(231, 241, 89)
HSLhsl(64, 84%, 65%)
HSVhsv(64, 63%, 95%)
CMYKcmyk(4.1%, 0%, 63.1%, 5.5%)
CIE-LABlab(91.96, -22.11, 69.64)
CIE-LCHlch(91.96, 73.07, 107.62°)
OKLaboklab(92.31% -0.0667 0.1579)
OKLCHoklch(92.31% 0.171 112.9)
XYZxyz(66.2152, 80.6222, 21.5228)
Luminance0.8062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F159 #6359F1
analogous
#F1AF59 #E7F159 #9BF159
triadic
#E7F159 #59E7F1 #F159E7
tetradic
#E7F159 #59F1AF #6359F1 #F1599B
square
#E7F159 #59F1AF #6359F1 #F1599B
split-complementary
#E7F159 #599BF1 #AF59F1
monochromatic
#B4BF10 #DFEC21 #E7F159 #EFF691 #F7FBCA

Accessibility & contrast

On white

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

On black

17.12
#E7F159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F159
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F159#FFFFFF#000000##000000
##E7F1591.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE645
Deuteranopia (green-blind)
#FFEA63
Tritanopia (blue-blind)
#F6E3D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e7f159;
/* rgb */ color: rgb(231, 241, 89);
/* oklch */ color: oklch(92.3% 0.171 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f58f',
    500: '#e7f159',
    950: '#000000',
  },
}
SCSS
$custom: #e7f159;
$custom-light: #f2f58f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f159",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 63.947,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.9231,
    "c": 0.17139,
    "h": 112.9
  },
  "luminance": 0.80621
}

Semantic roles & 50–950 ramp

primary
#E7F159
secondary
#3A31BE
accent
#05E113
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E7F159

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

Preview Lab → · Contrast checker → · Palette generator →

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