#E2E862#E2E862

#E2E862 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.156 H 111.5°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).

Color values

HEX#E2E862
RGBrgb(226, 232, 98)
HSLhsl(63, 74%, 65%)
HSVhsv(63, 58%, 91%)
CMYKcmyk(2.6%, 0%, 57.8%, 9%)
CIE-LABlab(89.28, -19.18, 62.94)
CIE-LCHlch(89.28, 65.80, 106.95°)
OKLaboklab(90.1% -0.0572 0.145)
OKLCHoklch(90.1% 0.156 111.5)
XYZxyz(62.4268, 74.7652, 22.6955)
Luminance0.7476 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E862 #6862E8
analogous
#E8AB62 #E2E862 #9FE862
triadic
#E2E862 #62E2E8 #E862E2
tetradic
#E2E862 #62E8AB #6862E8 #E8629F
square
#E2E862 #62E8AB #6862E8 #E8629F
split-complementary
#E2E862 #629FE8 #AB62E8
monochromatic
#AEB51B #D8E02D #E2E862 #ECF097 #F6F8CD

Accessibility & contrast

On white

1.32
#E2E862 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.95
#E2E862 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E862
15.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E862#FFFFFF#000000##000000
##E2E8621.001.3215.9515.95
#FFFFFF1.321.0021.0021.00
#00000015.9521.001.001.00
##00000015.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DE53
Deuteranopia (green-blind)
#F9E26A
Tritanopia (blue-blind)
#F0DBCB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e862;
/* rgb */ color: rgb(226, 232, 98);
/* oklch */ color: oklch(90.1% 0.156 111.5);
Tailwind
colors: {
  custom: {
    50: '#eeef93',
    500: '#e2e862',
    950: '#000000',
  },
}
SCSS
$custom: #e2e862;
$custom-light: #eeef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e862",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 98
  },
  "hsl": {
    "h": 62.687,
    "s": 74.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90098,
    "c": 0.15587,
    "h": 111.5
  },
  "luminance": 0.74764
}

Semantic roles & 50–950 ramp

primary
#E2E862
secondary
#3F39B5
accent
#0FD718
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E2E862

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

Preview Lab → · Contrast checker → · Palette generator →

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