#E4EB5C#E4EB5C

#E4EB5C is a very light, vivid yellow. Relative luminance 0.767; OKLCH L 90.8% C 0.163 H 111.9°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).

Color values

HEX#E4EB5C
RGBrgb(228, 235, 92)
HSLhsl(63, 78%, 64%)
HSVhsv(63, 61%, 92%)
CMYKcmyk(3%, 0%, 60.9%, 7.8%)
CIE-LABlab(90.18, -20.24, 66.47)
CIE-LCHlch(90.18, 69.48, 106.94°)
OKLaboklab(90.83% -0.0609 0.1517)
OKLCHoklch(90.83% 0.163 111.9)
XYZxyz(63.6367, 76.6848, 21.5725)
Luminance0.7668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4EB5C #635CEB
analogous
#EBAB5C #E4EB5C #9DEB5C
triadic
#E4EB5C #5CE4EB #EB5CE4
tetradic
#E4EB5C #5CEBAB #635CEB #EB5C9D
square
#E4EB5C #5CEBAB #635CEB #EB5C9D
split-complementary
#E4EB5C #5C9DEB #AB5CEB
monochromatic
#AEB616 #DBE425 #E4EB5C #EDF293 #F6F8C9

Accessibility & contrast

On white

1.29
#E4EB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.34
#E4EB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4EB5C
16.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4EB5C#FFFFFF#000000##000000
##E4EB5C1.001.2916.3416.34
#FFFFFF1.291.0021.0021.00
#00000016.3421.001.001.00
##00000016.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE14B
Deuteranopia (green-blind)
#FCE565
Tritanopia (blue-blind)
#F2DECD
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #e4eb5c;
/* rgb */ color: rgb(228, 235, 92);
/* oklch */ color: oklch(90.8% 0.163 111.9);
Tailwind
colors: {
  custom: {
    50: '#eff190',
    500: '#e4eb5c',
    950: '#000000',
  },
}
SCSS
$custom: #e4eb5c;
$custom-light: #eff190;
$custom-dark: #000000;
JSON
{
  "hex": "#e4eb5c",
  "rgb": {
    "r": 228,
    "g": 235,
    "b": 92
  },
  "hsl": {
    "h": 62.937,
    "s": 78.142,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90833,
    "c": 0.16346,
    "h": 111.9
  },
  "luminance": 0.76683
}

Semantic roles & 50–950 ramp

primary
#E4EB5C
secondary
#3C35B6
accent
#0BDA15
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E4EB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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