#E8F174#E8F174

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

Color values

HEX#E8F174
RGBrgb(232, 241, 116)
HSLhsl(64, 82%, 70%)
HSVhsv(64, 52%, 95%)
CMYKcmyk(3.7%, 0%, 51.9%, 5.5%)
CIE-LABlab(92.28, -19.77, 58.54)
CIE-LCHlch(92.28, 61.79, 108.66°)
OKLaboklab(92.66% -0.0574 0.1374)
OKLCHoklch(92.66% 0.149 112.7)
XYZxyz(67.8878, 81.3286, 28.6414)
Luminance0.8133 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F174 #7D74F1
analogous
#F1BB74 #E8F174 #AAF174
triadic
#E8F174 #74E8F1 #F174E8
tetradic
#E8F174 #74F1BB #7D74F1 #F174AA
square
#E8F174 #74F1BB #7D74F1 #F174AA
split-complementary
#E8F174 #74AAF1 #BB74F1
monochromatic
#C7D515 #DFEB3C #E8F174 #F1F7AC #FAFCE3

Accessibility & contrast

On white

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

On black

17.27
#E8F174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F174
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F174#FFFFFF#000000##000000
##E8F1741.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE768
Deuteranopia (green-blind)
#FFEA7B
Tritanopia (blue-blind)
#F5E5D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e8f174;
/* rgb */ color: rgb(232, 241, 116);
/* oklch */ color: oklch(92.7% 0.149 112.7);
Tailwind
colors: {
  custom: {
    50: '#f1f59f',
    500: '#e8f174',
    950: '#000000',
  },
}
SCSS
$custom: #e8f174;
$custom-light: #f1f59f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f174",
  "rgb": {
    "r": 232,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 64.32,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.92657,
    "c": 0.14891,
    "h": 112.7
  },
  "luminance": 0.81327
}

Semantic roles & 50–950 ramp

primary
#E8F174
secondary
#493FCB
accent
#07DE17
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F174

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

Preview Lab → · Contrast checker → · Palette generator →

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