#E4E051#E4E051

#E4E051 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#E4E051
RGBrgb(228, 224, 81)
HSLhsl(58, 73%, 61%)
HSVhsv(58, 64%, 89%)
CMYKcmyk(0%, 1.8%, 64.5%, 10.6%)
CIE-LABlab(87.19, -15.55, 67.74)
CIE-LCHlch(87.19, 69.50, 102.93°)
OKLaboklab(88.42% -0.0488 0.1528)
OKLCHoklch(88.42% 0.16 107.7)
XYZxyz(60.1378, 70.4013, 18.2039)
Luminance0.7040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E051 #5155E4
analogous
#E49651 #E4E051 #9FE451
triadic
#E4E051 #51E4E0 #E051E4
tetradic
#E4E051 #51E496 #5155E4 #E4519F
square
#E4E051 #51E496 #5155E4 #E4519F
split-complementary
#E4E051 #519FE4 #9651E4
monochromatic
#A29E19 #D7D221 #E4E051 #ECE986 #F4F3BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E4E051#FFFFFF#000000##000000
##E4E0511.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)
#F2D73E
Deuteranopia (green-blind)
#F4DD5A
Tritanopia (blue-blind)
#F4D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4e051;
/* rgb */ color: rgb(228, 224, 81);
/* oklch */ color: oklch(88.4% 0.160 107.7);
Tailwind
colors: {
  custom: {
    50: '#f0e989',
    500: '#e4e051',
    950: '#000000',
  },
}
SCSS
$custom: #e4e051;
$custom-light: #f0e989;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e051",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 81
  },
  "hsl": {
    "h": 58.367,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.88424,
    "c": 0.1604,
    "h": 107.7
  },
  "luminance": 0.70399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E4E051

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

Preview Lab → · Contrast checker → · Palette generator →

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