#E4E052#E4E052

#E4E052 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.4% C 0.160 H 107.7°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#E4E052
RGBrgb(228, 224, 82)
HSLhsl(58, 73%, 61%)
HSVhsv(58, 64%, 89%)
CMYKcmyk(0%, 1.8%, 64%, 10.6%)
CIE-LABlab(87.20, -15.49, 67.35)
CIE-LCHlch(87.20, 69.11, 102.96°)
OKLaboklab(88.43% -0.0486 0.1521)
OKLCHoklch(88.43% 0.16 107.7)
XYZxyz(60.1756, 70.4164, 18.4029)
Luminance0.7041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E052 #5256E4
analogous
#E49752 #E4E052 #9FE452
triadic
#E4E052 #52E4E0 #E052E4
tetradic
#E4E052 #52E497 #5256E4 #E4529F
square
#E4E052 #52E497 #5256E4 #E4529F
split-complementary
#E4E052 #529FE4 #9752E4
monochromatic
#A29F19 #D7D222 #E4E052 #ECE987 #F5F3BC

Accessibility & contrast

On white

1.39
#E4E052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.08
#E4E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E052
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E052#FFFFFF#000000##000000
##E4E0521.001.3915.0815.08
#FFFFFF1.391.0021.0021.00
#00000015.0821.001.001.00
##00000015.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83F
Deuteranopia (green-blind)
#F4DD5B
Tritanopia (blue-blind)
#F4D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4e052;
/* rgb */ color: rgb(228, 224, 82);
/* oklch */ color: oklch(88.4% 0.160 107.7);
Tailwind
colors: {
  custom: {
    50: '#f0e989',
    500: '#e4e052',
    950: '#000000',
  },
}
SCSS
$custom: #e4e052;
$custom-light: #f0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e052",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 58.356,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.88432,
    "c": 0.15969,
    "h": 107.7
  },
  "luminance": 0.70414
}

Semantic roles & 50–950 ramp

primary
#E4E052
secondary
#3538A5
accent
#16D510
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4E052

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

Preview Lab → · Contrast checker → · Palette generator →

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