#E4E04A#E4E04A

#E4E04A is a very light, vivid yellow. Relative luminance 0.703; OKLCH L 88.4% C 0.165 H 107.8°. Best body text is #000000 at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#E4E04A
RGBrgb(228, 224, 74)
HSLhsl(58, 74%, 59%)
HSVhsv(58, 68%, 89%)
CMYKcmyk(0%, 1.8%, 67.5%, 10.6%)
CIE-LABlab(87.14, -15.94, 70.37)
CIE-LCHlch(87.14, 72.15, 102.76°)
OKLaboklab(88.37% -0.0506 0.1572)
OKLCHoklch(88.37% 0.165 107.8)
XYZxyz(59.8888, 70.3016, 16.8921)
Luminance0.7030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E04A #4A4EE4
analogous
#E4934A #E4E04A #9BE44A
triadic
#E4E04A #4AE4E0 #E04AE4
tetradic
#E4E04A #4AE493 #4A4EE4 #E44A9B
square
#E4E04A #4AE493 #4A4EE4 #E44A9B
split-complementary
#E4E04A #4A9BE4 #934AE4
monochromatic
#9C9917 #D2CD1F #E4E04A #ECE97F #F4F2B5

Accessibility & contrast

On white

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

On black

15.06
#E4E04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E04A
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E04A#FFFFFF#000000##000000
##E4E04A1.001.3915.0615.06
#FFFFFF1.391.0021.0021.00
#00000015.0621.001.001.00
##00000015.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D733
Deuteranopia (green-blind)
#F5DD54
Tritanopia (blue-blind)
#F4D2C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e4e04a;
/* rgb */ color: rgb(228, 224, 74);
/* oklch */ color: oklch(88.4% 0.165 107.8);
Tailwind
colors: {
  custom: {
    50: '#f0e985',
    500: '#e4e04a',
    950: '#000000',
  },
}
SCSS
$custom: #e4e04a;
$custom-light: #f0e985;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e04a",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 74
  },
  "hsl": {
    "h": 58.442,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.8837,
    "c": 0.16518,
    "h": 107.8
  },
  "luminance": 0.703
}

Semantic roles & 50–950 ramp

primary
#E4E04A
secondary
#3335A0
accent
#3CF137
background
#FFFEFC
surface
#FFFCF3
border
#D7D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4E04A

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

Preview Lab → · Contrast checker → · Palette generator →

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