#E4E381#E4E381

#E4E381 is a very light, vivid yellow. Relative luminance 0.730; OKLCH L 89.6% C 0.121 H 108.1°. Best body text is #000000 at 15.60:1 contrast (WCAG AA passes).

Color values

HEX#E4E381
RGBrgb(228, 227, 129)
HSLhsl(59, 65%, 70%)
HSVhsv(59, 43%, 89%)
CMYKcmyk(0%, 0.4%, 43.4%, 10.6%)
CIE-LABlab(88.46, -13.31, 47.80)
CIE-LCHlch(88.46, 49.62, 105.56°)
OKLaboklab(89.58% -0.0375 0.1149)
OKLCHoklch(89.58% 0.121 108.1)
XYZxyz(63.4276, 73.0186, 31.5174)
Luminance0.7302 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E381 #8182E4
analogous
#E4B281 #E4E381 #B3E481
triadic
#E4E381 #81E4E3 #E381E4
tetradic
#E4E381 #81E4B2 #8182E4 #E481B3
square
#E4E381 #81E4B2 #8182E4 #E481B3
split-complementary
#E4E381 #81B3E4 #B281E4
monochromatic
#C1C029 #D9D84F #E4E381 #EFEEB3 #FAF9E6

Accessibility & contrast

On white

1.35
#E4E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.60
#E4E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E381
15.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E381#FFFFFF#000000##000000
##E4E3811.001.3515.6015.60
#FFFFFF1.351.0021.0021.00
#00000015.6021.001.001.00
##00000015.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC79
Deuteranopia (green-blind)
#F3E086
Tritanopia (blue-blind)
#F1D8CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4e381;
/* rgb */ color: rgb(228, 227, 129);
/* oklch */ color: oklch(89.6% 0.121 108.1);
Tailwind
colors: {
  custom: {
    50: '#eeeba7',
    500: '#e4e381',
    950: '#000000',
  },
}
SCSS
$custom: #e4e381;
$custom-light: #eeeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e381",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 59.394,
    "s": 64.706,
    "l": 70
  },
  "oklch": {
    "l": 0.89584,
    "c": 0.1209,
    "h": 108.1
  },
  "luminance": 0.73017
}

Semantic roles & 50–950 ramp

primary
#E4E381
secondary
#4D4EBC
accent
#1BCD19
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#171610
muted
#858480

Preview Lab

Preview with #E4E381

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

Preview Lab → · Contrast checker → · Palette generator →

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