#E8F172#E8F172

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

Color values

HEX#E8F172
RGBrgb(232, 241, 114)
HSLhsl(64, 82%, 70%)
HSVhsv(64, 53%, 95%)
CMYKcmyk(3.7%, 0%, 52.7%, 5.5%)
CIE-LABlab(92.26, -19.93, 59.41)
CIE-LCHlch(92.26, 62.67, 108.55°)
OKLaboklab(92.63% -0.0581 0.1391)
OKLCHoklch(92.63% 0.151 112.7)
XYZxyz(67.7727, 81.2826, 28.0353)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F172 #7B72F1
analogous
#F1BB72 #E8F172 #A9F172
triadic
#E8F172 #72E8F1 #F172E8
tetradic
#E8F172 #72F1BB #7B72F1 #F172A9
square
#E8F172 #72F1BB #7B72F1 #F172A9
split-complementary
#E8F172 #72A9F1 #BB72F1
monochromatic
#C6D415 #DFEB3A #E8F172 #F1F7AA #FAFCE1

Accessibility & contrast

On white

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

On black

17.26
#E8F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F172
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F172#FFFFFF#000000##000000
##E8F1721.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8f172;
/* rgb */ color: rgb(232, 241, 114);
/* oklch */ color: oklch(92.6% 0.151 112.7);
Tailwind
colors: {
  custom: {
    50: '#f2f59e',
    500: '#e8f172',
    950: '#000000',
  },
}
SCSS
$custom: #e8f172;
$custom-light: #f2f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f172",
  "rgb": {
    "r": 232,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 64.252,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92634,
    "c": 0.15073,
    "h": 112.7
  },
  "luminance": 0.81281
}

Semantic roles & 50–950 ramp

primary
#E8F172
secondary
#473DCA
accent
#07DE16
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F172

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

Preview Lab → · Contrast checker → · Palette generator →

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