#E2E956#E2E956

#E2E956 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.02:1 contrast (WCAG AA passes).

Color values

HEX#E2E956
RGBrgb(226, 233, 86)
HSLhsl(63, 77%, 63%)
HSVhsv(63, 63%, 91%)
CMYKcmyk(3%, 0%, 63.1%, 8.6%)
CIE-LABlab(89.45, -20.46, 68.07)
CIE-LCHlch(89.45, 71.08, 106.73°)
OKLaboklab(90.2% -0.062 0.1543)
OKLCHoklch(90.2% 0.166 111.9)
XYZxyz(62.1844, 75.1199, 20.0261)
Luminance0.7512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E956 #5D56E9
analogous
#E9A656 #E2E956 #99E956
triadic
#E2E956 #56E2E9 #E956E2
tetradic
#E2E956 #56E9A6 #5D56E9 #E95699
square
#E2E956 #56E9A6 #5D56E9 #E95699
split-complementary
#E2E956 #5699E9 #A656E9
monochromatic
#A7AE17 #D9E220 #E2E956 #EBF08C #F5F7C2

Accessibility & contrast

On white

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

On black

16.02
#E2E956 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E956
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E956#FFFFFF#000000##000000
##E2E9561.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF43
Deuteranopia (green-blind)
#FAE360
Tritanopia (blue-blind)
#F1DCCB
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e956;
/* rgb */ color: rgb(226, 233, 86);
/* oklch */ color: oklch(90.2% 0.166 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef8c',
    500: '#e2e956',
    950: '#000000',
  },
}
SCSS
$custom: #e2e956;
$custom-light: #eeef8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e956",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 86
  },
  "hsl": {
    "h": 62.857,
    "s": 76.963,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90199,
    "c": 0.16628,
    "h": 111.9
  },
  "luminance": 0.75118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E956

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

Preview Lab → · Contrast checker → · Palette generator →

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