#E8ED52#E8ED52

#E8ED52 is a very light, vivid yellow. Relative luminance 0.783; OKLCH L 91.5% C 0.172 H 111.1°. Best body text is #000000 at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#E8ED52
RGBrgb(232, 237, 82)
HSLhsl(62, 81%, 63%)
HSVhsv(62, 65%, 93%)
CMYKcmyk(2.1%, 0%, 65.4%, 7.1%)
CIE-LABlab(90.93, -20.20, 71.30)
CIE-LCHlch(90.93, 74.11, 105.82°)
OKLaboklab(91.49% -0.062 0.1604)
OKLCHoklch(91.49% 0.172 111.1)
XYZxyz(65.0879, 78.3350, 19.6725)
Luminance0.7833 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8ED52 #5752ED
analogous
#EDA452 #E8ED52 #9BED52
triadic
#E8ED52 #52E8ED #ED52E8
tetradic
#E8ED52 #52EDA4 #5752ED #ED529B
square
#E8ED52 #52EDA4 #5752ED #ED529B
split-complementary
#E8ED52 #529BED #A452ED
monochromatic
#ADB213 #E1E71B #E8ED52 #EFF389 #F7F9C1

Accessibility & contrast

On white

1.26
#E8ED52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.67
#E8ED52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8ED52
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8ED52#FFFFFF#000000##000000
##E8ED521.001.2616.6716.67
#FFFFFF1.261.0021.0021.00
#00000016.6721.001.001.00
##00000016.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE33C
Deuteranopia (green-blind)
#FFE75D
Tritanopia (blue-blind)
#F7DFCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e8ed52;
/* rgb */ color: rgb(232, 237, 82);
/* oklch */ color: oklch(91.5% 0.172 111.1);
Tailwind
colors: {
  custom: {
    50: '#f3f28a',
    500: '#e8ed52',
    950: '#000000',
  },
}
SCSS
$custom: #e8ed52;
$custom-light: #f3f28a;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ed52",
  "rgb": {
    "r": 232,
    "g": 237,
    "b": 82
  },
  "hsl": {
    "h": 61.935,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.91488,
    "c": 0.17193,
    "h": 111.1
  },
  "luminance": 0.78333
}

Semantic roles & 50–950 ramp

primary
#E8ED52
secondary
#3531B2
accent
#08DE0F
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E8ED52

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

Preview Lab → · Contrast checker → · Palette generator →

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