#E4E771#E4E771

#E4E771 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.2% C 0.141 H 110.2°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).

Color values

HEX#E4E771
RGBrgb(228, 231, 113)
HSLhsl(62, 71%, 67%)
HSVhsv(62, 51%, 91%)
CMYKcmyk(1.3%, 0%, 51.1%, 9.4%)
CIE-LABlab(89.32, -16.73, 56.37)
CIE-LCHlch(89.32, 58.80, 106.53°)
OKLaboklab(90.21% -0.0488 0.1325)
OKLCHoklch(90.21% 0.141 110.2)
XYZxyz(63.5529, 74.8395, 26.7172)
Luminance0.7484 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E771 #7471E7
analogous
#E7AF71 #E4E771 #A9E771
triadic
#E4E771 #71E4E7 #E771E4
tetradic
#E4E771 #71E7AF #7471E7 #E771A9
square
#E4E771 #71E7AF #7471E7 #E771A9
split-complementary
#E4E771 #71A9E7 #AF71E7
monochromatic
#BABE20 #DADE3D #E4E771 #EEF0A5 #F8F9DA

Accessibility & contrast

On white

1.32
#E4E771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.97
#E4E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E771
15.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E771#FFFFFF#000000##000000
##E4E7711.001.3215.9715.97
#FFFFFF1.321.0021.0021.00
#00000015.9721.001.001.00
##00000015.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#F8E277
Tritanopia (blue-blind)
#F1DBCC
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e4e771;
/* rgb */ color: rgb(228, 231, 113);
/* oklch */ color: oklch(90.2% 0.141 110.2);
Tailwind
colors: {
  custom: {
    50: '#efee9d',
    500: '#e4e771',
    950: '#000000',
  },
}
SCSS
$custom: #e4e771;
$custom-light: #efee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e771",
  "rgb": {
    "r": 228,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 61.525,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.9021,
    "c": 0.14121,
    "h": 110.2
  },
  "luminance": 0.74838
}

Semantic roles & 50–950 ramp

primary
#E4E771
secondary
#433FBD
accent
#12D317
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E4E771

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

Preview Lab → · Contrast checker → · Palette generator →

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