#E7F158#E7F158

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

Color values

HEX#E7F158
RGBrgb(231, 241, 88)
HSLhsl(64, 85%, 65%)
HSVhsv(64, 63%, 95%)
CMYKcmyk(4.1%, 0%, 63.5%, 5.5%)
CIE-LABlab(91.96, -22.18, 70.02)
CIE-LCHlch(91.96, 73.45, 107.57°)
OKLaboklab(92.3% -0.0669 0.1586)
OKLCHoklch(92.3% 0.172 112.9)
XYZxyz(66.1735, 80.6055, 21.3031)
Luminance0.8060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F158 #6258F1
analogous
#F1AF58 #E7F158 #9AF158
triadic
#E7F158 #58E7F1 #F158E7
tetradic
#E7F158 #58F1AF #6258F1 #F1589A
square
#E7F158 #58F1AF #6258F1 #F1589A
split-complementary
#E7F158 #589AF1 #AF58F1
monochromatic
#B3BF10 #DFEC20 #E7F158 #EFF690 #F7FAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E7F158#FFFFFF#000000##000000
##E7F1581.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)
#FFE644
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#F6E3D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e7f158;
/* rgb */ color: rgb(231, 241, 88);
/* oklch */ color: oklch(92.3% 0.172 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f58e',
    500: '#e7f158',
    950: '#000000',
  },
}
SCSS
$custom: #e7f158;
$custom-light: #f2f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f158",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 63.922,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92301,
    "c": 0.17211,
    "h": 112.9
  },
  "luminance": 0.80604
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7F158

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

Preview Lab → · Contrast checker → · Palette generator →

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