#E5F281#E5F281

#E5F281 is a very light, vivid yellow. Relative luminance 0.817; OKLCH L 92.8% C 0.138 H 114.5°. Best body text is #000000 at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#E5F281
RGBrgb(229, 242, 129)
HSLhsl(67, 81%, 73%)
HSVhsv(67, 47%, 95%)
CMYKcmyk(5.4%, 0%, 46.7%, 5.1%)
CIE-LABlab(92.46, -20.26, 52.72)
CIE-LCHlch(92.46, 56.48, 111.02°)
OKLaboklab(92.8% -0.0574 0.1258)
OKLCHoklch(92.8% 0.138 114.5)
XYZxyz(68.0286, 81.7482, 32.9599)
Luminance0.8175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F281 #8E81F2
analogous
#F2C781 #E5F281 #ACF281
triadic
#E5F281 #81E5F2 #F281E5
tetradic
#E5F281 #81F2C7 #8E81F2 #F281AC
square
#E5F281 #81F2C7 #8E81F2 #F281AC
split-complementary
#E5F281 #81ACF2 #C781F2
monochromatic
#CAE117 #DAEC4A #E5F281 #F0F8B8 #F9FCE3

Accessibility & contrast

On white

1.21
#E5F281 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.35
#E5F281 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F281
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F281#FFFFFF#000000##000000
##E5F2811.001.2117.3517.35
#FFFFFF1.211.0021.0021.00
#00000017.3521.001.001.00
##00000017.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE877
Deuteranopia (green-blind)
#FFEB87
Tritanopia (blue-blind)
#F1E7D8
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e5f281;
/* rgb */ color: rgb(229, 242, 129);
/* oklch */ color: oklch(92.8% 0.138 114.5);
Tailwind
colors: {
  custom: {
    50: '#eff6a8',
    500: '#e5f281',
    950: '#000000',
  },
}
SCSS
$custom: #e5f281;
$custom-light: #eff6a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f281",
  "rgb": {
    "r": 229,
    "g": 242,
    "b": 129
  },
  "hsl": {
    "h": 66.903,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92797,
    "c": 0.1383,
    "h": 114.5
  },
  "luminance": 0.81747
}

Semantic roles & 50–950 ramp

primary
#E5F281
secondary
#594ACD
accent
#08DE20
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #E5F281

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

Preview Lab → · Contrast checker → · Palette generator →

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