#E4E271#E4E271

#E4E271 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.2% C 0.136 H 107.9°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).

Color values

HEX#E4E271
RGBrgb(228, 226, 113)
HSLhsl(59, 68%, 67%)
HSVhsv(59, 50%, 89%)
CMYKcmyk(0%, 0.9%, 50.4%, 10.6%)
CIE-LABlab(88.01, -14.27, 54.84)
CIE-LCHlch(88.01, 56.66, 104.59°)
OKLaboklab(89.17% -0.0418 0.1291)
OKLCHoklch(89.17% 0.136 107.9)
XYZxyz(62.1734, 72.0806, 26.2574)
Luminance0.7208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E271 #7173E4
analogous
#E4A971 #E4E271 #ACE471
triadic
#E4E271 #71E4E2 #E271E4
tetradic
#E4E271 #71E4A9 #7173E4 #E471AC
square
#E4E271 #71E4A9 #7173E4 #E471AC
split-complementary
#E4E271 #71ACE4 #A971E4
monochromatic
#B8B523 #DAD73E #E4E271 #EEEDA4 #F8F7D8

Accessibility & contrast

On white

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

On black

15.42
#E4E271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E271
15.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E271#FFFFFF#000000##000000
##E4E2711.001.3615.4215.42
#FFFFFF1.361.0021.0021.00
#00000015.4221.001.001.00
##00000015.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2DA66
Deuteranopia (green-blind)
#F4DF77
Tritanopia (blue-blind)
#F2D6C8
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e271;
/* rgb */ color: rgb(228, 226, 113);
/* oklch */ color: oklch(89.2% 0.136 107.9);
Tailwind
colors: {
  custom: {
    50: '#efea9d',
    500: '#e4e271',
    950: '#000000',
  },
}
SCSS
$custom: #e4e271;
$custom-light: #efea9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e271",
  "rgb": {
    "r": 228,
    "g": 226,
    "b": 113
  },
  "hsl": {
    "h": 58.957,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89166,
    "c": 0.13576,
    "h": 107.9
  },
  "luminance": 0.72079
}

Semantic roles & 50–950 ramp

primary
#E4E271
secondary
#4143B8
accent
#19D016
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E271

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

Preview Lab → · Contrast checker → · Palette generator →

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