#E8E242#E8E242

#E8E242 is a very light, vivid yellow. Relative luminance 0.719; OKLCH L 89.1% C 0.171 H 107.2°. Best body text is #000000 at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#E8E242
RGBrgb(232, 226, 66)
HSLhsl(58, 78%, 58%)
HSVhsv(58, 72%, 91%)
CMYKcmyk(0%, 2.6%, 71.6%, 9%)
CIE-LABlab(87.94, -15.65, 74.11)
CIE-LCHlch(87.94, 75.74, 101.93°)
OKLaboklab(89.07% -0.0508 0.1637)
OKLCHoklch(89.07% 0.171 107.2)
XYZxyz(61.4608, 71.9440, 15.8023)
Luminance0.7194 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E242 #4248E8
analogous
#E88F42 #E8E242 #9BE842
triadic
#E8E242 #42E8E2 #E242E8
tetradic
#E8E242 #42E88F #4248E8 #E8429B
square
#E8E242 #42E88F #4248E8 #E8429B
split-complementary
#E8E242 #429BE8 #8F42E8
monochromatic
#9D9813 #D3CC1A #E8E242 #EFEA79 #F5F3AF

Accessibility & contrast

On white

1.36
#E8E242 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.39
#E8E242 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E242
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E242#FFFFFF#000000##000000
##E8E2421.001.3615.3915.39
#FFFFFF1.361.0021.0021.00
#00000015.3921.001.001.00
##00000015.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D924
Deuteranopia (green-blind)
#F8DF4E
Tritanopia (blue-blind)
#F9D3C3
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e8e242;
/* rgb */ color: rgb(232, 226, 66);
/* oklch */ color: oklch(89.1% 0.171 107.2);
Tailwind
colors: {
  custom: {
    50: '#f3ea81',
    500: '#e8e242',
    950: '#000000',
  },
}
SCSS
$custom: #e8e242;
$custom-light: #f3ea81;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e242",
  "rgb": {
    "r": 232,
    "g": 226,
    "b": 66
  },
  "hsl": {
    "h": 57.831,
    "s": 78.302,
    "l": 58.431
  },
  "oklch": {
    "l": 0.89068,
    "c": 0.17135,
    "h": 107.2
  },
  "luminance": 0.71942
}

Semantic roles & 50–950 ramp

primary
#E8E242
secondary
#2F33A0
accent
#3AF533
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#18160B
muted
#86847E

Preview Lab

Preview with #E8E242

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

Preview Lab → · Contrast checker → · Palette generator →

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