#E8E54F#E8E54F

#E8E54F is a very light, vivid yellow. Relative luminance 0.738; OKLCH L 89.8% C 0.166 H 108.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#E8E54F
RGBrgb(232, 229, 79)
HSLhsl(59, 77%, 61%)
HSVhsv(59, 66%, 91%)
CMYKcmyk(0%, 1.3%, 65.9%, 9%)
CIE-LABlab(88.81, -16.48, 70.27)
CIE-LCHlch(88.81, 72.18, 103.20°)
OKLaboklab(89.79% -0.0519 0.1577)
OKLCHoklch(89.79% 0.166 108.2)
XYZxyz(62.7115, 73.7609, 18.3295)
Luminance0.7376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E54F #4F52E8
analogous
#E8994F #E8E54F #9EE84F
triadic
#E8E54F #4FE8E5 #E54FE8
tetradic
#E8E54F #4FE899 #4F52E8 #E84F9E
square
#E8E54F #4FE899 #4F52E8 #E84F9E
split-complementary
#E8E54F #4F9EE8 #994FE8
monochromatic
#A7A416 #DDD91D #E8E54F #EFED85 #F6F5BB

Accessibility & contrast

On white

1.33
#E8E54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.75
#E8E54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E54F
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E54F#FFFFFF#000000##000000
##E8E54F1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7DC39
Deuteranopia (green-blind)
#FAE159
Tritanopia (blue-blind)
#F8D7C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e54f;
/* rgb */ color: rgb(232, 229, 79);
/* oklch */ color: oklch(89.8% 0.166 108.2);
Tailwind
colors: {
  custom: {
    50: '#f3ec88',
    500: '#e8e54f',
    950: '#000000',
  },
}
SCSS
$custom: #e8e54f;
$custom-light: #f3ec88;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e54f",
  "rgb": {
    "r": 232,
    "g": 229,
    "b": 79
  },
  "hsl": {
    "h": 58.824,
    "s": 76.884,
    "l": 60.98
  },
  "oklch": {
    "l": 0.89786,
    "c": 0.16603,
    "h": 108.2
  },
  "luminance": 0.73759
}

Semantic roles & 50–950 ramp

primary
#E8E54F
secondary
#3335A9
accent
#10D90C
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E54F

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

Preview Lab → · Contrast checker → · Palette generator →

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