#E5F152#E5F152

#E5F152 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.1% C 0.177 H 113.5°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#E5F152
RGBrgb(229, 241, 82)
HSLhsl(65, 85%, 63%)
HSVhsv(65, 66%, 95%)
CMYKcmyk(5%, 0%, 66%, 5.5%)
CIE-LABlab(91.77, -23.33, 72.08)
CIE-LCHlch(91.77, 75.76, 107.93°)
OKLaboklab(92.1% -0.0706 0.1621)
OKLCHoklch(92.1% 0.177 113.5)
XYZxyz(65.2932, 80.1791, 20.0176)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F152 #5E52F1
analogous
#F1AD52 #E5F152 #95F152
triadic
#E5F152 #52E5F1 #F152E5
tetradic
#E5F152 #52F1AD #5E52F1 #F15295
square
#E5F152 #52F1AD #5E52F1 #F15295
split-complementary
#E5F152 #5295F1 #AD52F1
monochromatic
#ADBA0F #DCEC19 #E5F152 #EEF68B #F6FAC3

Accessibility & contrast

On white

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

On black

17.04
#E5F152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F152
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F152#FFFFFF#000000##000000
##E5F1521.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE63B
Deuteranopia (green-blind)
#FFE95D
Tritanopia (blue-blind)
#F4E3D1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e5f152;
/* rgb */ color: rgb(229, 241, 82);
/* oklch */ color: oklch(92.1% 0.177 113.5);
Tailwind
colors: {
  custom: {
    50: '#f1f58b',
    500: '#e5f152',
    950: '#000000',
  },
}
SCSS
$custom: #e5f152;
$custom-light: #f1f58b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f152",
  "rgb": {
    "r": 229,
    "g": 241,
    "b": 82
  },
  "hsl": {
    "h": 64.528,
    "s": 85.027,
    "l": 63.333
  },
  "oklch": {
    "l": 0.92099,
    "c": 0.17678,
    "h": 113.5
  },
  "luminance": 0.80178
}

Semantic roles & 50–950 ramp

primary
#E5F152
secondary
#392FB8
accent
#04E215
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #E5F152

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

Preview Lab → · Contrast checker → · Palette generator →

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