#E4F251#E4F251

#E4F251 is a very light, vivid yellow. Relative luminance 0.806; OKLCH L 92.2% C 0.179 H 114.2°. Best body text is #000000 at 17.12:1 contrast (WCAG AA passes).

Color values

HEX#E4F251
RGBrgb(228, 242, 81)
HSLhsl(65, 86%, 63%)
HSVhsv(65, 67%, 95%)
CMYKcmyk(5.8%, 0%, 66.5%, 5.1%)
CIE-LABlab(91.95, -24.26, 72.62)
CIE-LCHlch(91.95, 76.56, 108.47°)
OKLaboklab(92.23% -0.0733 0.1631)
OKLCHoklch(92.23% 0.179 114.2)
XYZxyz(65.2340, 80.5935, 19.9027)
Luminance0.8059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F251 #5F51F2
analogous
#F2AF51 #E4F251 #94F251
triadic
#E4F251 #51E4F2 #F251E4
tetradic
#E4F251 #51F2AF #5F51F2 #F25194
square
#E4F251 #51F2AF #5F51F2 #F25194
split-complementary
#E4F251 #5194F2 #AF51F2
monochromatic
#ACBB0E #DBEE18 #E4F251 #EDF68A #F6FBC3

Accessibility & contrast

On white

1.23
#E4F251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.12
#E4F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F251
17.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F251#FFFFFF#000000##000000
##E4F2511.001.2317.1217.12
#FFFFFF1.231.0021.0021.00
#00000017.1221.001.001.00
##00000017.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE639
Deuteranopia (green-blind)
#FFE95D
Tritanopia (blue-blind)
#F2E4D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e4f251;
/* rgb */ color: rgb(228, 242, 81);
/* oklch */ color: oklch(92.2% 0.179 114.2);
Tailwind
colors: {
  custom: {
    50: '#f0f68a',
    500: '#e4f251',
    950: '#000000',
  },
}
SCSS
$custom: #e4f251;
$custom-light: #f0f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f251",
  "rgb": {
    "r": 228,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 65.217,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92227,
    "c": 0.17877,
    "h": 114.2
  },
  "luminance": 0.80592
}

Semantic roles & 50–950 ramp

primary
#E4F251
secondary
#3A2EB9
accent
#03E316
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #E4F251

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

Preview Lab → · Contrast checker → · Palette generator →

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