#E2EB5A#E2EB5A

#E2EB5A is a very light, vivid yellow. Relative luminance 0.763; OKLCH L 90.7% C 0.165 H 112.6°. Best body text is #000000 at 16.26:1 contrast (WCAG AA passes).

Color values

HEX#E2EB5A
RGBrgb(226, 235, 90)
HSLhsl(64, 78%, 64%)
HSVhsv(64, 62%, 92%)
CMYKcmyk(3.8%, 0%, 61.7%, 7.8%)
CIE-LABlab(90.01, -21.17, 67.06)
CIE-LCHlch(90.01, 70.32, 107.52°)
OKLaboklab(90.66% -0.0636 0.1527)
OKLCHoklch(90.66% 0.165 112.6)
XYZxyz(62.9195, 76.3249, 21.0886)
Luminance0.7632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EB5A #635AEB
analogous
#EBAB5A #E2EB5A #99EB5A
triadic
#E2EB5A #5AE2EB #EB5AE2
tetradic
#E2EB5A #5AEBAB #635AEB #EB5A99
square
#E2EB5A #5AEBAB #635AEB #EB5A99
split-complementary
#E2EB5A #5A99EB #AB5AEB
monochromatic
#ABB516 #D8E423 #E2EB5A #ECF291 #F5F8C7

Accessibility & contrast

On white

1.29
#E2EB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.26
#E2EB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EB5A
16.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EB5A#FFFFFF#000000##000000
##E2EB5A1.001.2916.2616.26
#FFFFFF1.291.0021.0021.00
#00000016.2621.001.001.00
##00000016.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FCE148
Deuteranopia (green-blind)
#FCE463
Tritanopia (blue-blind)
#F0DECD
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e2eb5a;
/* rgb */ color: rgb(226, 235, 90);
/* oklch */ color: oklch(90.7% 0.165 112.6);
Tailwind
colors: {
  custom: {
    50: '#eef18f',
    500: '#e2eb5a',
    950: '#000000',
  },
}
SCSS
$custom: #e2eb5a;
$custom-light: #eef18f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2eb5a",
  "rgb": {
    "r": 226,
    "g": 235,
    "b": 90
  },
  "hsl": {
    "h": 63.724,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.90658,
    "c": 0.16543,
    "h": 112.6
  },
  "luminance": 0.76324
}

Semantic roles & 50–950 ramp

primary
#E2EB5A
secondary
#3D35B5
accent
#0BDB18
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2EB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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