#E2E781#E2E781

#E2E781 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.3% C 0.126 H 111.1°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#E2E781
RGBrgb(226, 231, 129)
HSLhsl(63, 68%, 71%)
HSVhsv(63, 44%, 91%)
CMYKcmyk(2.2%, 0%, 44.2%, 9.4%)
CIE-LABlab(89.35, -16.07, 48.86)
CIE-LCHlch(89.35, 51.44, 108.20°)
OKLaboklab(90.26% -0.0453 0.1173)
OKLCHoklch(90.26% 0.126 111.1)
XYZxyz(63.9034, 74.9067, 31.8567)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E781 #8681E7
analogous
#E7B981 #E2E781 #AFE781
triadic
#E2E781 #81E2E7 #E781E2
tetradic
#E2E781 #81E7B9 #8681E7 #E781AF
square
#E2E781 #81E7B9 #8681E7 #E781AF
split-complementary
#E2E781 #81AFE7 #B981E7
monochromatic
#C0C826 #D6DD4E #E2E781 #EEF1B4 #F9FAE5

Accessibility & contrast

On white

1.31
#E2E781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#E2E781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E781
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E781#FFFFFF#000000##000000
##E2E7811.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF79
Deuteranopia (green-blind)
#F5E286
Tritanopia (blue-blind)
#EEDCCF
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e781;
/* rgb */ color: rgb(226, 231, 129);
/* oklch */ color: oklch(90.3% 0.126 111.1);
Tailwind
colors: {
  custom: {
    50: '#edeea7',
    500: '#e2e781',
    950: '#000000',
  },
}
SCSS
$custom: #e2e781;
$custom-light: #edeea7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e781",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 129
  },
  "hsl": {
    "h": 62.941,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.90258,
    "c": 0.12577,
    "h": 111.1
  },
  "luminance": 0.74906
}

Semantic roles & 50–950 ramp

primary
#E2E781
secondary
#524DC0
accent
#16D01F
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#161610
muted
#858580

Preview Lab

Preview with #E2E781

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

Preview Lab → · Contrast checker → · Palette generator →

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