#E2EB5F#E2EB5F

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

Color values

HEX#E2EB5F
RGBrgb(226, 235, 95)
HSLhsl(64, 78%, 65%)
HSVhsv(64, 60%, 92%)
CMYKcmyk(3.8%, 0%, 59.6%, 7.8%)
CIE-LABlab(90.05, -20.84, 65.05)
CIE-LCHlch(90.05, 68.31, 107.77°)
OKLaboklab(90.7% -0.0622 0.1491)
OKLCHoklch(90.7% 0.162 112.6)
XYZxyz(63.1395, 76.4129, 22.2473)
Luminance0.7641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EB5F #685FEB
analogous
#EBAE5F #E2EB5F #9CEB5F
triadic
#E2EB5F #5FE2EB #EB5FE2
tetradic
#E2EB5F #5FEBAE #685FEB #EB5F9C
square
#E2EB5F #5FEBAE #685FEB #EB5F9C
split-complementary
#E2EB5F #5F9CEB #AE5FEB
monochromatic
#AEB917 #D8E429 #E2EB5F #ECF295 #F6F9CC

Accessibility & contrast

On white

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

On black

16.28
#E2EB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EB5F
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EB5F#FFFFFF#000000##000000
##E2EB5F1.001.2916.2816.28
#FFFFFF1.291.0021.0021.00
#00000016.2821.001.001.00
##00000016.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2eb5f;
/* rgb */ color: rgb(226, 235, 95);
/* oklch */ color: oklch(90.7% 0.162 112.6);
Tailwind
colors: {
  custom: {
    50: '#eef192',
    500: '#e2eb5f',
    950: '#000000',
  },
}
SCSS
$custom: #e2eb5f;
$custom-light: #eef192;
$custom-dark: #000000;
JSON
{
  "hex": "#e2eb5f",
  "rgb": {
    "r": 226,
    "g": 235,
    "b": 95
  },
  "hsl": {
    "h": 63.857,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90703,
    "c": 0.16156,
    "h": 112.6
  },
  "luminance": 0.76412
}

Semantic roles & 50–950 ramp

primary
#E2EB5F
secondary
#3F36B8
accent
#0BDA19
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2EB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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