#E8F372#E8F372

#E8F372 is a very light, vivid yellow. Relative luminance 0.825; OKLCH L 93.1% C 0.153 H 113.4°. Best body text is #000000 at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#E8F372
RGBrgb(232, 243, 114)
HSLhsl(65, 84%, 70%)
HSVhsv(65, 53%, 95%)
CMYKcmyk(4.5%, 0%, 53.1%, 4.7%)
CIE-LABlab(92.78, -20.90, 60.02)
CIE-LCHlch(92.78, 63.56, 109.20°)
OKLaboklab(93.05% -0.0608 0.1404)
OKLCHoklch(93.05% 0.153 113.4)
XYZxyz(68.3679, 82.4731, 28.2337)
Luminance0.8247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F372 #7D72F3
analogous
#F3BD72 #E8F372 #A8F372
triadic
#E8F372 #72E8F3 #F372E8
tetradic
#E8F372 #72F3BD #7D72F3 #F372A8
square
#E8F372 #72F3BD #7D72F3 #F372A8
split-complementary
#E8F372 #72A8F3 #BD72F3
monochromatic
#C7D812 #DFEE3A #E8F372 #F1F8AA #FAFDE3

Accessibility & contrast

On white

1.20
#E8F372 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.49
#E8F372 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F372
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F372#FFFFFF#000000##000000
##E8F3721.001.2017.4917.49
#FFFFFF1.201.0021.0021.00
#00000017.4921.001.001.00
##00000017.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FFEC79
Tritanopia (blue-blind)
#F5E7D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e8f372;
/* rgb */ color: rgb(232, 243, 114);
/* oklch */ color: oklch(93.1% 0.153 113.4);
Tailwind
colors: {
  custom: {
    50: '#f2f79e',
    500: '#e8f372',
    950: '#000000',
  },
}
SCSS
$custom: #e8f372;
$custom-light: #f2f79e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f372",
  "rgb": {
    "r": 232,
    "g": 243,
    "b": 114
  },
  "hsl": {
    "h": 65.116,
    "s": 84.314,
    "l": 70
  },
  "oklch": {
    "l": 0.93054,
    "c": 0.153,
    "h": 113.4
  },
  "luminance": 0.82472
}

Semantic roles & 50–950 ramp

primary
#E8F372
secondary
#493CCD
accent
#05E117
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F372

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

Preview Lab → · Contrast checker → · Palette generator →

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