#E4E971#E4E971

#E4E971 is a very light, vivid yellow. Relative luminance 0.760; OKLCH L 90.6% C 0.143 H 111.1°. Best body text is #000000 at 16.19:1 contrast (WCAG AA passes).

Color values

HEX#E4E971
RGBrgb(228, 233, 113)
HSLhsl(63, 73%, 68%)
HSVhsv(63, 52%, 91%)
CMYKcmyk(2.1%, 0%, 51.5%, 8.6%)
CIE-LABlab(89.84, -17.71, 56.99)
CIE-LCHlch(89.84, 59.67, 107.27°)
OKLaboklab(90.63% -0.0516 0.1338)
OKLCHoklch(90.63% 0.143 111.1)
XYZxyz(64.1159, 75.9654, 26.9049)
Luminance0.7596 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E971 #7671E9
analogous
#E9B271 #E4E971 #A8E971
triadic
#E4E971 #71E4E9 #E971E4
tetradic
#E4E971 #71E9B2 #7671E9 #E971A8
square
#E4E971 #71E9B2 #7671E9 #E971A8
split-complementary
#E4E971 #71A8E9 #B271E9
monochromatic
#BBC21E #DAE13C #E4E971 #EEF1A6 #F8F9DB

Accessibility & contrast

On white

1.30
#E4E971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.19
#E4E971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E971
16.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E971#FFFFFF#000000##000000
##E4E9711.001.3016.1916.19
#FFFFFF1.301.0021.0021.00
#00000016.1921.001.001.00
##00000016.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8E066
Deuteranopia (green-blind)
#F9E477
Tritanopia (blue-blind)
#F1DDCE
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e4e971;
/* rgb */ color: rgb(228, 233, 113);
/* oklch */ color: oklch(90.6% 0.143 111.1);
Tailwind
colors: {
  custom: {
    50: '#efef9d',
    500: '#e4e971',
    950: '#000000',
  },
}
SCSS
$custom: #e4e971;
$custom-light: #efef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e971",
  "rgb": {
    "r": 228,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 62.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.90629,
    "c": 0.14343,
    "h": 111.1
  },
  "luminance": 0.75964
}

Semantic roles & 50–950 ramp

primary
#E4E971
secondary
#433EC0
accent
#10D518
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E4E971

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

Preview Lab → · Contrast checker → · Palette generator →

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