#E2E759#E2E759

#E2E759 is a very light, vivid yellow. Relative luminance 0.740; OKLCH L 89.8% C 0.162 H 111.2°. Best body text is #000000 at 15.81:1 contrast (WCAG AA passes).

Color values

HEX#E2E759
RGBrgb(226, 231, 89)
HSLhsl(62, 75%, 63%)
HSVhsv(62, 61%, 91%)
CMYKcmyk(2.2%, 0%, 61.5%, 9.4%)
CIE-LABlab(88.94, -19.30, 66.33)
CIE-LCHlch(88.94, 69.08, 106.23°)
OKLaboklab(89.8% -0.0585 0.151)
OKLCHoklch(89.8% 0.162 111.2)
XYZxyz(61.7449, 74.0433, 20.4885)
Luminance0.7404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E759 #5E59E7
analogous
#E7A559 #E2E759 #9BE759
triadic
#E2E759 #59E2E7 #E759E2
tetradic
#E2E759 #59E7A5 #5E59E7 #E7599B
square
#E2E759 #59E7A5 #5E59E7 #E7599B
split-complementary
#E2E759 #599BE7 #A559E7
monochromatic
#A7AD19 #D9DF24 #E2E759 #EBEF8E #F5F6C4

Accessibility & contrast

On white

1.33
#E2E759 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.81
#E2E759 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E759
15.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E759#FFFFFF#000000##000000
##E2E7591.001.3315.8115.81
#FFFFFF1.331.0021.0021.00
#00000015.8121.001.001.00
##00000015.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD47
Deuteranopia (green-blind)
#F9E162
Tritanopia (blue-blind)
#F1DAC9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e759;
/* rgb */ color: rgb(226, 231, 89);
/* oklch */ color: oklch(89.8% 0.162 111.2);
Tailwind
colors: {
  custom: {
    50: '#eeee8e',
    500: '#e2e759',
    950: '#000000',
  },
}
SCSS
$custom: #e2e759;
$custom-light: #eeee8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e759",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 89
  },
  "hsl": {
    "h": 62.113,
    "s": 74.737,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89802,
    "c": 0.16194,
    "h": 111.2
  },
  "luminance": 0.74042
}

Semantic roles & 50–950 ramp

primary
#E2E759
secondary
#3B36AE
accent
#0FD716
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E759

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

Preview Lab → · Contrast checker → · Palette generator →

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