#E5F271#E5F271

#E5F271 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.6% C 0.153 H 114.2°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#E5F271
RGBrgb(229, 242, 113)
HSLhsl(66, 83%, 70%)
HSVhsv(66, 53%, 95%)
CMYKcmyk(5.4%, 0%, 53.3%, 5.1%)
CIE-LABlab(92.29, -21.67, 59.84)
CIE-LCHlch(92.29, 63.64, 109.91°)
OKLaboklab(92.6% -0.0629 0.14)
OKLCHoklch(92.6% 0.153 114.2)
XYZxyz(67.0471, 81.3556, 27.7908)
Luminance0.8135 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F271 #7E71F2
analogous
#F2BF71 #E5F271 #A4F271
triadic
#E5F271 #71E5F2 #F271E5
tetradic
#E5F271 #71F2BF #7E71F2 #F271A4
square
#E5F271 #71F2BF #7E71F2 #F271A4
split-complementary
#E5F271 #71A4F2 #BF71F2
monochromatic
#C2D514 #DBED39 #E5F271 #EFF7A9 #FAFCE1

Accessibility & contrast

On white

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

On black

17.27
#E5F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F271
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F271#FFFFFF#000000##000000
##E5F2711.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e5f271;
/* rgb */ color: rgb(229, 242, 113);
/* oklch */ color: oklch(92.6% 0.153 114.2);
Tailwind
colors: {
  custom: {
    50: '#eff69d',
    500: '#e5f271',
    950: '#000000',
  },
}
SCSS
$custom: #e5f271;
$custom-light: #eff69d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f271",
  "rgb": {
    "r": 229,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 66.047,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92602,
    "c": 0.15346,
    "h": 114.2
  },
  "luminance": 0.81355
}

Semantic roles & 50–950 ramp

primary
#E5F271
secondary
#4A3CCB
accent
#06E01C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E5F271

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

Preview Lab → · Contrast checker → · Palette generator →

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