#E8E04F#E8E04F

#E8E04F is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 88.7% C 0.161 H 106.2°. Best body text is #000000 at 15.21:1 contrast (WCAG AA passes).

Color values

HEX#E8E04F
RGBrgb(232, 224, 79)
HSLhsl(57, 77%, 61%)
HSVhsv(57, 66%, 91%)
CMYKcmyk(0%, 3.4%, 65.9%, 9%)
CIE-LABlab(87.50, -14.02, 68.94)
CIE-LCHlch(87.50, 70.35, 101.50°)
OKLaboklab(88.74% -0.0449 0.1549)
OKLCHoklch(88.74% 0.161 106.2)
XYZxyz(61.3479, 71.0338, 17.8750)
Luminance0.7103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E04F #4F57E8
analogous
#E8934F #E8E04F #A3E84F
triadic
#E8E04F #4FE8E0 #E04FE8
tetradic
#E8E04F #4FE893 #4F57E8 #E84FA3
square
#E8E04F #4FE893 #4F57E8 #E84FA3
split-complementary
#E8E04F #4FA3E8 #934FE8
monochromatic
#A79F16 #DDD31D #E8E04F #EFEA85 #F6F3BB

Accessibility & contrast

On white

1.38
#E8E04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.21
#E8E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E04F
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E04F#FFFFFF#000000##000000
##E8E04F1.001.3815.2115.21
#FFFFFF1.381.0021.0021.00
#00000015.2121.001.001.00
##00000015.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D83B
Deuteranopia (green-blind)
#F6DE58
Tritanopia (blue-blind)
#F8D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8e04f;
/* rgb */ color: rgb(232, 224, 79);
/* oklch */ color: oklch(88.7% 0.161 106.2);
Tailwind
colors: {
  custom: {
    50: '#f3e988',
    500: '#e8e04f',
    950: '#000000',
  },
}
SCSS
$custom: #e8e04f;
$custom-light: #f3e988;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e04f",
  "rgb": {
    "r": 232,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 56.863,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.88743,
    "c": 0.16128,
    "h": 106.2
  },
  "luminance": 0.71032
}

Semantic roles & 50–950 ramp

primary
#E8E04F
secondary
#3339A9
accent
#17D90C
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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