#E8EC5A#E8EC5A

#E8EC5A is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.3% C 0.165 H 110.8°. Best body text is #000000 at 16.58:1 contrast (WCAG AA passes).

Color values

HEX#E8EC5A
RGBrgb(232, 236, 90)
HSLhsl(62, 79%, 64%)
HSVhsv(62, 62%, 93%)
CMYKcmyk(1.7%, 0%, 61.9%, 7.5%)
CIE-LABlab(90.73, -19.24, 67.96)
CIE-LCHlch(90.73, 70.63, 105.81°)
OKLaboklab(91.34% -0.0585 0.1545)
OKLCHoklch(91.34% 0.165 110.8)
XYZxyz(65.1215, 77.8865, 21.2740)
Luminance0.7789 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EC5A #5E5AEC
analogous
#ECA75A #E8EC5A #9FEC5A
triadic
#E8EC5A #5AE8EC #EC5AE8
tetradic
#E8EC5A #5AECA7 #5E5AEC #EC5A9F
square
#E8EC5A #5AECA7 #5E5AEC #EC5A9F
split-complementary
#E8EC5A #5A9FEC #A75AEC
monochromatic
#B2B715 #E0E623 #E8EC5A #F0F291 #F7F9C8

Accessibility & contrast

On white

1.27
#E8EC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.58
#E8EC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8EC5A
16.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8EC5A#FFFFFF#000000##000000
##E8EC5A1.001.2716.5816.58
#FFFFFF1.271.0021.0021.00
#00000016.5821.001.001.00
##00000016.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE248
Deuteranopia (green-blind)
#FEE663
Tritanopia (blue-blind)
#F7DECE
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e8ec5a;
/* rgb */ color: rgb(232, 236, 90);
/* oklch */ color: oklch(91.3% 0.165 110.8);
Tailwind
colors: {
  custom: {
    50: '#f2f18f',
    500: '#e8ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #e8ec5a;
$custom-light: #f2f18f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ec5a",
  "rgb": {
    "r": 232,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 61.644,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.91343,
    "c": 0.16519,
    "h": 110.8
  },
  "luminance": 0.77885
}

Semantic roles & 50–950 ramp

primary
#E8EC5A
secondary
#3834B6
accent
#0ADC10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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