#E8F672#E8F672

#E8F672 is a very light, vivid yellow. Relative luminance 0.843; OKLCH L 93.7% C 0.156 H 114.5°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#E8F672
RGBrgb(232, 246, 114)
HSLhsl(66, 88%, 71%)
HSVhsv(66, 54%, 96%)
CMYKcmyk(5.7%, 0%, 53.7%, 3.5%)
CIE-LABlab(93.57, -22.33, 60.93)
CIE-LCHlch(93.57, 64.90, 110.13°)
OKLaboklab(93.69% -0.0648 0.1424)
OKLCHoklch(93.69% 0.156 114.5)
XYZxyz(69.2730, 84.2833, 28.5354)
Luminance0.8428 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F672 #8072F6
analogous
#F6C272 #E8F672 #A6F672
triadic
#E8F672 #72E8F6 #F672E8
tetradic
#E8F672 #72F6C2 #8072F6 #F672A6
square
#E8F672 #72F6C2 #8072F6 #F672A6
split-complementary
#E8F672 #72A6F6 #C272F6
monochromatic
#C9DF0E #DFF238 #E8F672 #F1FAAC #FAFDE2

Accessibility & contrast

On white

1.18
#E8F672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#E8F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F672
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F672#FFFFFF#000000##000000
##E8F6721.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFEE7A
Tritanopia (blue-blind)
#F5EAD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e8f672;
/* rgb */ color: rgb(232, 246, 114);
/* oklch */ color: oklch(93.7% 0.156 114.5);
Tailwind
colors: {
  custom: {
    50: '#f2f99e',
    500: '#e8f672',
    950: '#000000',
  },
}
SCSS
$custom: #e8f672;
$custom-light: #f2f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f672",
  "rgb": {
    "r": 232,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 66.364,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93686,
    "c": 0.15644,
    "h": 114.5
  },
  "luminance": 0.84282
}

Semantic roles & 50–950 ramp

primary
#E8F672
secondary
#4B3CD1
accent
#01E519
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F672

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

Preview Lab → · Contrast checker → · Palette generator →

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