#E2E771#E2E771

#E2E771 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.1% C 0.142 H 111.1°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#E2E771
RGBrgb(226, 231, 113)
HSLhsl(63, 71%, 67%)
HSVhsv(63, 51%, 91%)
CMYKcmyk(2.2%, 0%, 51.1%, 9.4%)
CIE-LABlab(89.16, -17.53, 56.15)
CIE-LCHlch(89.16, 58.83, 107.33°)
OKLaboklab(90.05% -0.051 0.1321)
OKLCHoklch(90.05% 0.142 111.1)
XYZxyz(62.9219, 74.5141, 26.6876)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E771 #7671E7
analogous
#E7B171 #E2E771 #A7E771
triadic
#E2E771 #71E2E7 #E771E2
tetradic
#E2E771 #71E7B1 #7671E7 #E771A7
square
#E2E771 #71E7B1 #7671E7 #E771A7
split-complementary
#E2E771 #71A7E7 #B171E7
monochromatic
#B7BE20 #D7DE3D #E2E771 #EDF0A5 #F7F9DA

Accessibility & contrast

On white

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

On black

15.90
#E2E771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E771
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E771#FFFFFF#000000##000000
##E2E7711.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e771;
/* rgb */ color: rgb(226, 231, 113);
/* oklch */ color: oklch(90.1% 0.142 111.1);
Tailwind
colors: {
  custom: {
    50: '#edee9d',
    500: '#e2e771',
    950: '#000000',
  },
}
SCSS
$custom: #e2e771;
$custom-light: #edee9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e771",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 113
  },
  "hsl": {
    "h": 62.542,
    "s": 71.084,
    "l": 67.451
  },
  "oklch": {
    "l": 0.90051,
    "c": 0.14155,
    "h": 111.1
  },
  "luminance": 0.74513
}

Semantic roles & 50–950 ramp

primary
#E2E771
secondary
#453FBD
accent
#12D31B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F

Preview Lab

Preview with #E2E771

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

Preview Lab → · Contrast checker → · Palette generator →

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