#E8F178#E8F178

#E8F178 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.7% C 0.145 H 112.7°. Best body text is #000000 at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#E8F178
RGBrgb(232, 241, 120)
HSLhsl(64, 81%, 71%)
HSVhsv(64, 50%, 95%)
CMYKcmyk(3.7%, 0%, 50.2%, 5.5%)
CIE-LABlab(92.32, -19.43, 56.77)
CIE-LCHlch(92.32, 60.00, 108.89°)
OKLaboklab(92.7% -0.056 0.1339)
OKLCHoklch(92.7% 0.145 112.7)
XYZxyz(68.1254, 81.4237, 29.8932)
Luminance0.8142 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F178 #8178F1
analogous
#F1BD78 #E8F178 #ABF178
triadic
#E8F178 #78E8F1 #F178E8
tetradic
#E8F178 #78F1BD #8178F1 #F178AB
square
#E8F178 #78F1BD #8178F1 #F178AB
split-complementary
#E8F178 #78ABF1 #BD78F1
monochromatic
#CAD816 #DFEB41 #E8F178 #F1F7AF #FAFCE3

Accessibility & contrast

On white

1.21
#E8F178 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.28
#E8F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F178
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F178#FFFFFF#000000##000000
##E8F1781.001.2117.2817.28
#FFFFFF1.211.0021.0021.00
#00000017.2821.001.001.00
##00000017.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8f178;
/* rgb */ color: rgb(232, 241, 120);
/* oklch */ color: oklch(92.7% 0.145 112.7);
Tailwind
colors: {
  custom: {
    50: '#f1f5a2',
    500: '#e8f178',
    950: '#000000',
  },
}
SCSS
$custom: #e8f178;
$custom-light: #f1f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f178",
  "rgb": {
    "r": 232,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 64.463,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92704,
    "c": 0.14519,
    "h": 112.7
  },
  "luminance": 0.81422
}

Semantic roles & 50–950 ramp

primary
#E8F178
secondary
#4C42CB
accent
#08DE18
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F178

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

Preview Lab → · Contrast checker → · Palette generator →

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