#E7F178#E7F178

#E7F178 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.6% C 0.145 H 113.1°. Best body text is #000000 at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#E7F178
RGBrgb(231, 241, 120)
HSLhsl(65, 81%, 71%)
HSVhsv(65, 50%, 95%)
CMYKcmyk(4.1%, 0%, 50.2%, 5.5%)
CIE-LABlab(92.25, -19.82, 56.67)
CIE-LCHlch(92.25, 60.03, 109.28°)
OKLaboklab(92.63% -0.0571 0.1337)
OKLCHoklch(92.63% 0.145 113.1)
XYZxyz(67.8017, 81.2567, 29.8781)
Luminance0.8126 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F178 #8278F1
analogous
#F1BE78 #E7F178 #AAF178
triadic
#E7F178 #78E7F1 #F178E7
tetradic
#E7F178 #78F1BE #8278F1 #F178AA
square
#E7F178 #78F1BE #8278F1 #F178AA
split-complementary
#E7F178 #78AAF1 #BE78F1
monochromatic
#C8D816 #DDEB41 #E7F178 #F1F7AF #FAFCE3

Accessibility & contrast

On white

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

On black

17.25
#E7F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F178
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F178#FFFFFF#000000##000000
##E7F1781.001.2217.2517.25
#FFFFFF1.221.0021.0021.00
#00000017.2521.001.001.00
##00000017.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FFEA7E
Tritanopia (blue-blind)
#F4E5D6
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e7f178;
/* rgb */ color: rgb(231, 241, 120);
/* oklch */ color: oklch(92.6% 0.145 113.1);
Tailwind
colors: {
  custom: {
    50: '#f1f5a2',
    500: '#e7f178',
    950: '#000000',
  },
}
SCSS
$custom: #e7f178;
$custom-light: #f1f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f178",
  "rgb": {
    "r": 231,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 64.959,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92627,
    "c": 0.1454,
    "h": 113.1
  },
  "luminance": 0.81256
}

Semantic roles & 50–950 ramp

primary
#E7F178
secondary
#4D42CB
accent
#08DE1A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E7F178

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

Preview Lab → · Contrast checker → · Palette generator →

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