#E2E957#E2E957

#E2E957 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.2% C 0.166 H 111.9°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).

Color values

HEX#E2E957
RGBrgb(226, 233, 87)
HSLhsl(63, 77%, 63%)
HSVhsv(63, 63%, 91%)
CMYKcmyk(3%, 0%, 62.7%, 8.6%)
CIE-LABlab(89.46, -20.40, 67.68)
CIE-LCHlch(89.46, 70.69, 106.77°)
OKLaboklab(90.21% -0.0617 0.1536)
OKLCHoklch(90.21% 0.166 111.9)
XYZxyz(62.2250, 75.1361, 20.2398)
Luminance0.7513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E957 #5E57E9
analogous
#E9A757 #E2E957 #99E957
triadic
#E2E957 #57E2E9 #E957E2
tetradic
#E2E957 #57E9A7 #5E57E9 #E95799
square
#E2E957 #57E9A7 #5E57E9 #E95799
split-complementary
#E2E957 #5799E9 #A757E9
monochromatic
#A7AF17 #D9E221 #E2E957 #EBF08D #F5F7C3

Accessibility & contrast

On white

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

On black

16.03
#E2E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E957
16.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E957#FFFFFF#000000##000000
##E2E9571.001.3116.0316.03
#FFFFFF1.311.0021.0021.00
#00000016.0321.001.001.00
##00000016.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF44
Deuteranopia (green-blind)
#FAE361
Tritanopia (blue-blind)
#F0DCCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e957;
/* rgb */ color: rgb(226, 233, 87);
/* oklch */ color: oklch(90.2% 0.166 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef8d',
    500: '#e2e957',
    950: '#000000',
  },
}
SCSS
$custom: #e2e957;
$custom-light: #eeef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e957",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 62.877,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90208,
    "c": 0.16555,
    "h": 111.9
  },
  "luminance": 0.75135
}

Semantic roles & 50–950 ramp

primary
#E2E957
secondary
#3B35AF
accent
#0CD916
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2E957

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

Preview Lab → · Contrast checker → · Palette generator →

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