#E4F271#E4F271

#E4F271 is a very light, vivid yellow. Relative luminance 0.812; OKLCH L 92.5% C 0.154 H 114.6°. Best body text is #000000 at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#E4F271
RGBrgb(228, 242, 113)
HSLhsl(67, 83%, 70%)
HSVhsv(67, 53%, 95%)
CMYKcmyk(5.8%, 0%, 53.3%, 5.1%)
CIE-LABlab(92.22, -22.06, 59.74)
CIE-LCHlch(92.22, 63.68, 110.27°)
OKLaboklab(92.53% -0.064 0.1398)
OKLCHoklch(92.53% 0.154 114.6)
XYZxyz(66.7289, 81.1915, 27.7759)
Luminance0.8119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F271 #7F71F2
analogous
#F2C071 #E4F271 #A3F271
triadic
#E4F271 #71E4F2 #F271E4
tetradic
#E4F271 #71F2C0 #7F71F2 #F271A3
square
#E4F271 #71F2C0 #7F71F2 #F271A3
split-complementary
#E4F271 #71A3F2 #C071F2
monochromatic
#C0D514 #D9ED39 #E4F271 #EFF7A9 #F9FCE1

Accessibility & contrast

On white

1.22
#E4F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.24
#E4F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F271
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F271#FFFFFF#000000##000000
##E4F2711.001.2217.2417.24
#FFFFFF1.221.0021.0021.00
#00000017.2421.001.001.00
##00000017.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEA78
Tritanopia (blue-blind)
#F1E6D5
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e4f271;
/* rgb */ color: rgb(228, 242, 113);
/* oklch */ color: oklch(92.5% 0.154 114.6);
Tailwind
colors: {
  custom: {
    50: '#eff69d',
    500: '#e4f271',
    950: '#000000',
  },
}
SCSS
$custom: #e4f271;
$custom-light: #eff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f271",
  "rgb": {
    "r": 228,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 66.512,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92526,
    "c": 0.1537,
    "h": 114.6
  },
  "luminance": 0.8119
}

Semantic roles & 50–950 ramp

primary
#E4F271
secondary
#4B3CCB
accent
#06E01D
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E4F271

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

Preview Lab → · Contrast checker → · Palette generator →

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