#E2E861#E2E861

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

Color values

HEX#E2E861
RGBrgb(226, 232, 97)
HSLhsl(63, 75%, 65%)
HSVhsv(63, 58%, 91%)
CMYKcmyk(2.6%, 0%, 58.2%, 9%)
CIE-LABlab(89.27, -19.25, 63.36)
CIE-LCHlch(89.27, 66.22, 106.90°)
OKLaboklab(90.09% -0.0575 0.1458)
OKLCHoklch(90.09% 0.157 111.5)
XYZxyz(62.3799, 74.7464, 22.4484)
Luminance0.7474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E861 #6761E8
analogous
#E8AB61 #E2E861 #9EE861
triadic
#E2E861 #61E2E8 #E861E2
tetradic
#E2E861 #61E8AB #6761E8 #E8619E
square
#E2E861 #61E8AB #6761E8 #E8619E
split-complementary
#E2E861 #619EE8 #AB61E8
monochromatic
#ADB41A #D8E02C #E2E861 #ECF096 #F6F8CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E861#FFFFFF#000000##000000
##E2E8611.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)
#F8DE52
Deuteranopia (green-blind)
#F9E269
Tritanopia (blue-blind)
#F0DBCB
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e861;
/* rgb */ color: rgb(226, 232, 97);
/* oklch */ color: oklch(90.1% 0.157 111.5);
Tailwind
colors: {
  custom: {
    50: '#eeef93',
    500: '#e2e861',
    950: '#000000',
  },
}
SCSS
$custom: #e2e861;
$custom-light: #eeef93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e861",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 97
  },
  "hsl": {
    "h": 62.667,
    "s": 74.586,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90088,
    "c": 0.15669,
    "h": 111.5
  },
  "luminance": 0.74745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E861

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

Preview Lab → · Contrast checker → · Palette generator →

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