#E8EC5F#E8EC5F

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

Color values

HEX#E8EC5F
RGBrgb(232, 236, 95)
HSLhsl(62, 79%, 65%)
HSVhsv(62, 60%, 93%)
CMYKcmyk(1.7%, 0%, 59.7%, 7.5%)
CIE-LABlab(90.77, -18.92, 65.96)
CIE-LCHlch(90.77, 68.62, 106.01°)
OKLaboklab(91.39% -0.0571 0.1509)
OKLCHoklch(91.39% 0.161 110.7)
XYZxyz(65.3416, 77.9745, 22.4328)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8EC5F #635FEC
analogous
#ECA95F #E8EC5F #A2EC5F
triadic
#E8EC5F #5FE8EC #EC5FE8
tetradic
#E8EC5F #5FECA9 #635FEC #EC5FA2
square
#E8EC5F #5FECA9 #635FEC #EC5FA2
split-complementary
#E8EC5F #5FA2EC #A95FEC
monochromatic
#B6BA16 #E0E628 #E8EC5F #F0F296 #F8F9CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8EC5F#FFFFFF#000000##000000
##E8EC5F1.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)
#FDE24E
Deuteranopia (green-blind)
#FEE768
Tritanopia (blue-blind)
#F7DFCE
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #e8ec5f;
/* rgb */ color: rgb(232, 236, 95);
/* oklch */ color: oklch(91.4% 0.161 110.7);
Tailwind
colors: {
  custom: {
    50: '#f2f292',
    500: '#e8ec5f',
    950: '#000000',
  },
}
SCSS
$custom: #e8ec5f;
$custom-light: #f2f292;
$custom-dark: #000000;
JSON
{
  "hex": "#e8ec5f",
  "rgb": {
    "r": 232,
    "g": 236,
    "b": 95
  },
  "hsl": {
    "h": 61.702,
    "s": 78.771,
    "l": 64.902
  },
  "oklch": {
    "l": 0.91388,
    "c": 0.16136,
    "h": 110.7
  },
  "luminance": 0.77973
}

Semantic roles & 50–950 ramp

primary
#E8EC5F
secondary
#3936BA
accent
#0ADB10
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8EC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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