#E4E781#E4E781

#E4E781 is a very light, vivid yellow. Relative luminance 0.752; OKLCH L 90.4% C 0.125 H 110.1°. Best body text is #000000 at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#E4E781
RGBrgb(228, 231, 129)
HSLhsl(62, 68%, 71%)
HSVhsv(62, 44%, 91%)
CMYKcmyk(1.3%, 0%, 44.2%, 9.4%)
CIE-LABlab(89.50, -15.29, 49.09)
CIE-LCHlch(89.50, 51.41, 107.30°)
OKLaboklab(90.42% -0.0432 0.1178)
OKLCHoklch(90.42% 0.125 110.1)
XYZxyz(64.5344, 75.2321, 31.8863)
Luminance0.7523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E781 #8481E7
analogous
#E7B781 #E4E781 #B1E781
triadic
#E4E781 #81E4E7 #E781E4
tetradic
#E4E781 #81E7B7 #8481E7 #E781B1
square
#E4E781 #81E7B7 #8481E7 #E781B1
split-complementary
#E4E781 #81B1E7 #B781E7
monochromatic
#C3C826 #D9DD4E #E4E781 #EFF1B4 #F9FAE5

Accessibility & contrast

On white

1.31
#E4E781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.05
#E4E781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E781
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E781#FFFFFF#000000##000000
##E4E7811.001.3116.0516.05
#FFFFFF1.311.0021.0021.00
#00000016.0521.001.001.00
##00000016.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF78
Deuteranopia (green-blind)
#F6E386
Tritanopia (blue-blind)
#F0DCCF
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e4e781;
/* rgb */ color: rgb(228, 231, 129);
/* oklch */ color: oklch(90.4% 0.125 110.1);
Tailwind
colors: {
  custom: {
    50: '#eeeea7',
    500: '#e4e781',
    950: '#000000',
  },
}
SCSS
$custom: #e4e781;
$custom-light: #eeeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e781",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 61.765,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90416,
    "c": 0.12547,
    "h": 110.1
  },
  "luminance": 0.75231
}

Semantic roles & 50–950 ramp

primary
#E4E781
secondary
#504DC0
accent
#16D01B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #E4E781

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

Preview Lab → · Contrast checker → · Palette generator →

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