#E8EC5D#E8EC5D

#E8EC5D is a very light, vivid yellow. Relative luminance 0.779; OKLCH L 91.4% C 0.163 H 110.7°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#E8EC5D
RGBrgb(232, 236, 93)
HSLhsl(62, 79%, 65%)
HSVhsv(62, 61%, 93%)
CMYKcmyk(1.7%, 0%, 60.6%, 7.5%)
CIE-LABlab(90.75, -19.05, 66.77)
CIE-LCHlch(90.75, 69.43, 105.93°)
OKLaboklab(91.37% -0.0577 0.1524)
OKLCHoklch(91.37% 0.163 110.7)
XYZxyz(65.2518, 77.9386, 21.9602)
Luminance0.7794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EC5D #615DEC
analogous
#ECA85D #E8EC5D #A1EC5D
triadic
#E8EC5D #5DE8EC #EC5DE8
tetradic
#E8EC5D #5DECA8 #615DEC #EC5DA1
square
#E8EC5D #5DECA8 #615DEC #EC5DA1
split-complementary
#E8EC5D #5DA1EC #A85DEC
monochromatic
#B4B916 #E0E626 #E8EC5D #F0F294 #F8F9CB

Accessibility & contrast

On white

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

On black

16.59
#E8EC5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8EC5D
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8EC5D#FFFFFF#000000##000000
##E8EC5D1.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8ec5d;
/* rgb */ color: rgb(232, 236, 93);
/* oklch */ color: oklch(91.4% 0.163 110.7);
Tailwind
colors: {
  custom: {
    50: '#f2f291',
    500: '#e8ec5d',
    950: '#000000',
  },
}
SCSS
$custom: #e8ec5d;
$custom-light: #f2f291;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ec5d",
  "rgb": {
    "r": 232,
    "g": 236,
    "b": 93
  },
  "hsl": {
    "h": 61.678,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.9137,
    "c": 0.16291,
    "h": 110.7
  },
  "luminance": 0.77937
}

Semantic roles & 50–950 ramp

primary
#E8EC5D
secondary
#3935B8
accent
#0ADB10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8EC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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