#E8E054#E8E054

#E8E054 is a very light, vivid yellow. Relative luminance 0.711; OKLCH L 88.8% C 0.158 H 106.0°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#E8E054
RGBrgb(232, 224, 84)
HSLhsl(57, 76%, 62%)
HSVhsv(57, 64%, 91%)
CMYKcmyk(0%, 3.4%, 63.8%, 9%)
CIE-LABlab(87.54, -13.74, 67.01)
CIE-LCHlch(87.54, 68.40, 101.58°)
OKLaboklab(88.78% -0.0436 0.1516)
OKLCHoklch(88.78% 0.158 106)
XYZxyz(61.5368, 71.1093, 18.8698)
Luminance0.7111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E054 #545CE8
analogous
#E89654 #E8E054 #A6E854
triadic
#E8E054 #54E8E0 #E054E8
tetradic
#E8E054 #54E896 #545CE8 #E854A6
square
#E8E054 #54E896 #545CE8 #E854A6
split-complementary
#E8E054 #54A6E8 #9654E8
monochromatic
#ABA317 #E1D61E #E8E054 #EFEA8A #F7F4C0

Accessibility & contrast

On white

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

On black

15.22
#E8E054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E054
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E054#FFFFFF#000000##000000
##E8E0541.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8e054;
/* rgb */ color: rgb(232, 224, 84);
/* oklch */ color: oklch(88.8% 0.158 106.0);
Tailwind
colors: {
  custom: {
    50: '#f3e98b',
    500: '#e8e054',
    950: '#000000',
  },
}
SCSS
$custom: #e8e054;
$custom-light: #f3e98b;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e054",
  "rgb": {
    "r": 232,
    "g": 224,
    "b": 84
  },
  "hsl": {
    "h": 56.757,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.88784,
    "c": 0.15774,
    "h": 106
  },
  "luminance": 0.71107
}

Semantic roles & 50–950 ramp

primary
#E8E054
secondary
#343BAC
accent
#18D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E054

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

Preview Lab → · Contrast checker → · Palette generator →

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