#E2E381#E2E381

#E2E381 is a very light, vivid yellow. Relative luminance 0.727; OKLCH L 89.4% C 0.121 H 109.1°. Best body text is #000000 at 15.54:1 contrast (WCAG AA passes).

Color values

HEX#E2E381
RGBrgb(226, 227, 129)
HSLhsl(61, 64%, 70%)
HSVhsv(61, 43%, 89%)
CMYKcmyk(0.4%, 0%, 43.2%, 11%)
CIE-LABlab(88.30, -14.09, 47.57)
CIE-LCHlch(88.30, 49.61, 106.50°)
OKLaboklab(89.42% -0.0397 0.1144)
OKLCHoklch(89.42% 0.121 109.1)
XYZxyz(62.7966, 72.6932, 31.4878)
Luminance0.7269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E381 #8281E3
analogous
#E3B381 #E2E381 #B1E381
triadic
#E2E381 #81E2E3 #E381E2
tetradic
#E2E381 #81E3B3 #8281E3 #E381B1
square
#E2E381 #81E3B3 #8281E3 #E381B1
split-complementary
#E2E381 #81B1E3 #B381E3
monochromatic
#BEBF2A #D6D84F #E2E381 #EEEEB3 #F9F9E5

Accessibility & contrast

On white

1.35
#E2E381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.54
#E2E381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E381
15.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E381#FFFFFF#000000##000000
##E2E3811.001.3515.5415.54
#FFFFFF1.351.0021.0021.00
#00000015.5421.001.001.00
##00000015.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1DC79
Deuteranopia (green-blind)
#F2DF86
Tritanopia (blue-blind)
#EED8CC
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e381;
/* rgb */ color: rgb(226, 227, 129);
/* oklch */ color: oklch(89.4% 0.121 109.1);
Tailwind
colors: {
  custom: {
    50: '#edeba7',
    500: '#e2e381',
    950: '#000000',
  },
}
SCSS
$custom: #e2e381;
$custom-light: #edeba7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e381",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 129
  },
  "hsl": {
    "h": 60.612,
    "s": 63.636,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89423,
    "c": 0.12113,
    "h": 109.1
  },
  "luminance": 0.72692
}

Semantic roles & 50–950 ramp

primary
#E2E381
secondary
#4E4DBB
accent
#1ACB1C
background
#FFFEFC
surface
#FEFDF6
border
#D6D5D0
text
#161610
muted
#858480

Preview Lab

Preview with #E2E381

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

Preview Lab → · Contrast checker → · Palette generator →

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