#E8F28B#E8F28B

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

Color values

HEX#E8F28B
RGBrgb(232, 242, 139)
HSLhsl(66, 80%, 75%)
HSVhsv(66, 43%, 95%)
CMYKcmyk(4.1%, 0%, 42.6%, 5.1%)
CIE-LABlab(92.81, -18.12, 48.44)
CIE-LCHlch(92.81, 51.72, 110.51°)
OKLaboklab(93.17% -0.0506 0.1169)
OKLCHoklch(93.17% 0.127 113.4)
XYZxyz(69.6919, 82.5251, 36.6787)
Luminance0.8252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F28B #958BF2
analogous
#F2C88B #E8F28B #B5F28B
triadic
#E8F28B #8BE8F2 #F28BE8
tetradic
#E8F28B #8BF2C8 #958BF2 #F28BB5
square
#E8F28B #8BF2C8 #958BF2 #F28BB5
split-complementary
#E8F28B #8BB5F2 #C88BF2
monochromatic
#D2E61D #DDEC54 #E8F28B #F3F8C2 #FAFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8F28B#FFFFFF#000000##000000
##E8F28B1.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)
#FFE983
Deuteranopia (green-blind)
#FFEC90
Tritanopia (blue-blind)
#F3E7D9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e8f28b;
/* rgb */ color: rgb(232, 242, 139);
/* oklch */ color: oklch(93.2% 0.127 113.4);
Tailwind
colors: {
  custom: {
    50: '#f1f6ae',
    500: '#e8f28b',
    950: '#000000',
  },
}
SCSS
$custom: #e8f28b;
$custom-light: #f1f6ae;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f28b",
  "rgb": {
    "r": 232,
    "g": 242,
    "b": 139
  },
  "hsl": {
    "h": 65.825,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.93165,
    "c": 0.12743,
    "h": 113.4
  },
  "luminance": 0.82524
}

Semantic roles & 50–950 ramp

primary
#E8F28B
secondary
#5F53CE
accent
#09DC1E
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #E8F28B

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

Preview Lab → · Contrast checker → · Palette generator →

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