#E4F052#E4F052

#E4F052 is a very light, vivid yellow. Relative luminance 0.794; OKLCH L 91.8% C 0.176 H 113.6°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#E4F052
RGBrgb(228, 240, 82)
HSLhsl(65, 84%, 63%)
HSVhsv(65, 66%, 94%)
CMYKcmyk(5%, 0%, 65.8%, 5.9%)
CIE-LABlab(91.43, -23.25, 71.71)
CIE-LCHlch(91.43, 75.39, 107.97°)
OKLaboklab(91.81% -0.0703 0.1613)
OKLCHoklch(91.81% 0.176 113.6)
XYZxyz(64.6798, 79.4246, 19.9043)
Luminance0.7942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F052 #5E52F0
analogous
#F0AD52 #E4F052 #95F052
triadic
#E4F052 #52E4F0 #F052E4
tetradic
#E4F052 #52F0AD #5E52F0 #F05295
square
#E4F052 #52F0AD #5E52F0 #F05295
split-complementary
#E4F052 #5295F0 #AD52F0
monochromatic
#ABB810 #DBEB1A #E4F052 #EDF58A #F6FAC3

Accessibility & contrast

On white

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

On black

16.88
#E4F052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F052
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F052#FFFFFF#000000##000000
##E4F0521.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4f052;
/* rgb */ color: rgb(228, 240, 82);
/* oklch */ color: oklch(91.8% 0.176 113.6);
Tailwind
colors: {
  custom: {
    50: '#f0f48b',
    500: '#e4f052',
    950: '#000000',
  },
}
SCSS
$custom: #e4f052;
$custom-light: #f0f48b;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f052",
  "rgb": {
    "r": 228,
    "g": 240,
    "b": 82
  },
  "hsl": {
    "h": 64.557,
    "s": 84.043,
    "l": 63.137
  },
  "oklch": {
    "l": 0.91809,
    "c": 0.17598,
    "h": 113.6
  },
  "luminance": 0.79423
}

Semantic roles & 50–950 ramp

primary
#E4F052
secondary
#3A2FB7
accent
#05E016
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170C
muted
#85857F

Preview Lab

Preview with #E4F052

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

Preview Lab → · Contrast checker → · Palette generator →

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