#E8F28A#E8F28A

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

Color values

HEX#E8F28A
RGBrgb(232, 242, 138)
HSLhsl(66, 80%, 75%)
HSVhsv(66, 43%, 95%)
CMYKcmyk(4.1%, 0%, 43%, 5.1%)
CIE-LABlab(92.79, -18.22, 48.90)
CIE-LCHlch(92.79, 52.19, 110.44°)
OKLaboklab(93.15% -0.051 0.1179)
OKLCHoklch(93.15% 0.128 113.4)
XYZxyz(69.6191, 82.4960, 36.2957)
Luminance0.8249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F28A #948AF2
analogous
#F2C88A #E8F28A #B4F28A
triadic
#E8F28A #8AE8F2 #F28AE8
tetradic
#E8F28A #8AF2C8 #948AF2 #F28AB4
square
#E8F28A #8AF2C8 #948AF2 #F28AB4
split-complementary
#E8F28A #8AB4F2 #C88AF2
monochromatic
#D2E61C #DDEC53 #E8F28A #F3F8C1 #FAFCE3

Accessibility & contrast

On white

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

On black

17.50
#E8F28A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F28A
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F28A#FFFFFF#000000##000000
##E8F28A1.001.2017.5017.50
#FFFFFF1.201.0021.0021.00
#00000017.5021.001.001.00
##00000017.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE982
Deuteranopia (green-blind)
#FFEC8F
Tritanopia (blue-blind)
#F3E7D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e8f28a;
/* rgb */ color: rgb(232, 242, 138);
/* oklch */ color: oklch(93.2% 0.128 113.4);
Tailwind
colors: {
  custom: {
    50: '#f1f6ae',
    500: '#e8f28a',
    950: '#000000',
  },
}
SCSS
$custom: #e8f28a;
$custom-light: #f1f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f28a",
  "rgb": {
    "r": 232,
    "g": 242,
    "b": 138
  },
  "hsl": {
    "h": 65.769,
    "s": 80,
    "l": 74.51
  },
  "oklch": {
    "l": 0.9315,
    "c": 0.12847,
    "h": 113.4
  },
  "luminance": 0.82495
}

Semantic roles & 50–950 ramp

primary
#E8F28A
secondary
#5E52CE
accent
#09DC1D
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #E8F28A

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

Preview Lab → · Contrast checker → · Palette generator →

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