#E4E04F#E4E04F

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

Color values

HEX#E4E04F
RGBrgb(228, 224, 79)
HSLhsl(58, 73%, 60%)
HSVhsv(58, 65%, 89%)
CMYKcmyk(0%, 1.8%, 65.4%, 10.6%)
CIE-LABlab(87.18, -15.67, 68.51)
CIE-LCHlch(87.18, 70.27, 102.88°)
OKLaboklab(88.41% -0.0493 0.1541)
OKLCHoklch(88.41% 0.162 107.8)
XYZxyz(60.0640, 70.3717, 17.8148)
Luminance0.7037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E04F #4F53E4
analogous
#E4954F #E4E04F #9EE44F
triadic
#E4E04F #4FE4E0 #E04FE4
tetradic
#E4E04F #4FE495 #4F53E4 #E44F9E
square
#E4E04F #4FE495 #4F53E4 #E44F9E
split-complementary
#E4E04F #4F9EE4 #954FE4
monochromatic
#A09C19 #D5D021 #E4E04F #ECE984 #F4F3B9

Accessibility & contrast

On white

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

On black

15.07
#E4E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E04F
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E04F#FFFFFF#000000##000000
##E4E04F1.001.3915.0715.07
#FFFFFF1.391.0021.0021.00
#00000015.0721.001.001.00
##00000015.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4e04f;
/* rgb */ color: rgb(228, 224, 79);
/* oklch */ color: oklch(88.4% 0.162 107.8);
Tailwind
colors: {
  custom: {
    50: '#f0e988',
    500: '#e4e04f',
    950: '#000000',
  },
}
SCSS
$custom: #e4e04f;
$custom-light: #f0e988;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e04f",
  "rgb": {
    "r": 228,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 58.389,
    "s": 73.399,
    "l": 60.196
  },
  "oklch": {
    "l": 0.88408,
    "c": 0.16181,
    "h": 107.8
  },
  "luminance": 0.7037
}

Semantic roles & 50–950 ramp

primary
#E4E04F
secondary
#3437A3
accent
#15D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E4E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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