#E8E54D#E8E54D

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

Color values

HEX#E8E54D
RGBrgb(232, 229, 77)
HSLhsl(59, 77%, 61%)
HSVhsv(59, 67%, 91%)
CMYKcmyk(0%, 1.3%, 66.8%, 9%)
CIE-LABlab(88.80, -16.59, 71.01)
CIE-LCHlch(88.80, 72.93, 103.15°)
OKLaboklab(89.77% -0.0524 0.159)
OKLCHoklch(89.77% 0.167 108.2)
XYZxyz(62.6398, 73.7322, 17.9518)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E54D #4D50E8
analogous
#E8984D #E8E54D #9DE84D
triadic
#E8E54D #4DE8E5 #E54DE8
tetradic
#E8E54D #4DE898 #4D50E8 #E84D9D
square
#E8E54D #4DE898 #4D50E8 #E84D9D
split-complementary
#E8E54D #4D9DE8 #984DE8
monochromatic
#A5A215 #DBD81C #E8E54D #EFED83 #F6F5B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8E54D#FFFFFF#000000##000000
##E8E54D1.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)
#F7DC36
Deuteranopia (green-blind)
#FAE157
Tritanopia (blue-blind)
#F8D7C7
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e8e54d;
/* rgb */ color: rgb(232, 229, 77);
/* oklch */ color: oklch(89.8% 0.167 108.2);
Tailwind
colors: {
  custom: {
    50: '#f3ec87',
    500: '#e8e54d',
    950: '#000000',
  },
}
SCSS
$custom: #e8e54d;
$custom-light: #f3ec87;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e54d",
  "rgb": {
    "r": 232,
    "g": 229,
    "b": 77
  },
  "hsl": {
    "h": 58.839,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.89771,
    "c": 0.16736,
    "h": 108.2
  },
  "luminance": 0.7373
}

Semantic roles & 50–950 ramp

primary
#E8E54D
secondary
#3234A7
accent
#10D90C
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E8E54D

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

Preview Lab → · Contrast checker → · Palette generator →

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