#E4E981#E4E981

#E4E981 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 90.8% C 0.128 H 111.1°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).

Color values

HEX#E4E981
RGBrgb(228, 233, 129)
HSLhsl(63, 70%, 71%)
HSVhsv(63, 45%, 91%)
CMYKcmyk(2.1%, 0%, 44.6%, 8.6%)
CIE-LABlab(90.03, -16.27, 49.73)
CIE-LCHlch(90.03, 52.32, 108.12°)
OKLaboklab(90.83% -0.046 0.1192)
OKLCHoklch(90.83% 0.128 111.1)
XYZxyz(65.0973, 76.3580, 32.0740)
Luminance0.7636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E981 #8681E9
analogous
#E9BA81 #E4E981 #B0E981
triadic
#E4E981 #81E4E9 #E981E4
tetradic
#E4E981 #81E9BA #8681E9 #E981B0
square
#E4E981 #81E9BA #8681E9 #E981B0
split-complementary
#E4E981 #81B0E9 #BA81E9
monochromatic
#C4CC24 #D9E04D #E4E981 #EFF2B5 #F9FAE5

Accessibility & contrast

On white

1.29
#E4E981 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.27
#E4E981 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E981
16.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E981#FFFFFF#000000##000000
##E4E9811.001.2916.2716.27
#FFFFFF1.291.0021.0021.00
#00000016.2721.001.001.00
##00000016.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E178
Deuteranopia (green-blind)
#F8E486
Tritanopia (blue-blind)
#F0DED0
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e981;
/* rgb */ color: rgb(228, 233, 129);
/* oklch */ color: oklch(90.8% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#eeefa7',
    500: '#e4e981',
    950: '#000000',
  },
}
SCSS
$custom: #e4e981;
$custom-light: #eeefa7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e981",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 129
  },
  "hsl": {
    "h": 62.885,
    "s": 70.27,
    "l": 70.98
  },
  "oklch": {
    "l": 0.90833,
    "c": 0.12778,
    "h": 111.1
  },
  "luminance": 0.76357
}

Semantic roles & 50–950 ramp

primary
#E4E981
secondary
#524CC2
accent
#13D21C
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#171610
muted
#858580

Preview Lab

Preview with #E4E981

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

Preview Lab → · Contrast checker → · Palette generator →

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