#E5F052#E5F052

#E5F052 is a very light, vivid yellow. Relative luminance 0.796; OKLCH L 91.9% C 0.176 H 113.2°. Best body text is #000000 at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#E5F052
RGBrgb(229, 240, 82)
HSLhsl(64, 84%, 63%)
HSVhsv(64, 66%, 94%)
CMYKcmyk(4.6%, 0%, 65.8%, 5.9%)
CIE-LABlab(91.50, -22.85, 71.81)
CIE-LCHlch(91.50, 75.36, 107.65°)
OKLaboklab(91.89% -0.0693 0.1615)
OKLCHoklch(91.89% 0.176 113.2)
XYZxyz(64.9980, 79.5887, 19.9192)
Luminance0.7959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F052 #5D52F0
analogous
#F0AC52 #E5F052 #96F052
triadic
#E5F052 #52E5F0 #F052E5
tetradic
#E5F052 #52F0AC #5D52F0 #F05296
square
#E5F052 #52F0AC #5D52F0 #F05296
split-complementary
#E5F052 #5296F0 #AC52F0
monochromatic
#ACB810 #DDEB1A #E5F052 #EDF58A #F6FAC3

Accessibility & contrast

On white

1.24
#E5F052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.92
#E5F052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F052
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F052#FFFFFF#000000##000000
##E5F0521.001.2416.9216.92
#FFFFFF1.241.0021.0021.00
#00000016.9221.001.001.00
##00000016.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53B
Deuteranopia (green-blind)
#FFE85D
Tritanopia (blue-blind)
#F4E2D0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e5f052;
/* rgb */ color: rgb(229, 240, 82);
/* oklch */ color: oklch(91.9% 0.176 113.2);
Tailwind
colors: {
  custom: {
    50: '#f1f48b',
    500: '#e5f052',
    950: '#000000',
  },
}
SCSS
$custom: #e5f052;
$custom-light: #f1f48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f052",
  "rgb": {
    "r": 229,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 64.177,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91886,
    "c": 0.17573,
    "h": 113.2
  },
  "luminance": 0.79587
}

Semantic roles & 50–950 ramp

primary
#E5F052
secondary
#392FB7
accent
#05E014
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #E5F052

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

Preview Lab → · Contrast checker → · Palette generator →

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