#E2E259#E2E259

#E2E259 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.7% C 0.157 H 109.2°. Best body text is #000000 at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#E2E259
RGBrgb(226, 226, 89)
HSLhsl(60, 70%, 62%)
HSVhsv(60, 61%, 89%)
CMYKcmyk(0%, 0%, 60.6%, 11.4%)
CIE-LABlab(87.62, -16.86, 64.92)
CIE-LCHlch(87.62, 67.07, 104.56°)
OKLaboklab(88.75% -0.0516 0.148)
OKLCHoklch(88.75% 0.157 109.2)
XYZxyz(60.3654, 71.2844, 20.0287)
Luminance0.7128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E259 #5959E2
analogous
#E29E59 #E2E259 #9EE259
triadic
#E2E259 #59E2E2 #E259E2
tetradic
#E2E259 #59E29E #5959E2 #E2599E
square
#E2E259 #59E29E #5959E2 #E2599E
split-complementary
#E2E259 #599EE2 #9E59E2
monochromatic
#A4A41D #D8D826 #E2E259 #EBEB8D #F4F4C1

Accessibility & contrast

On white

1.38
#E2E259 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.26
#E2E259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E259
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E259#FFFFFF#000000##000000
##E2E2591.001.3815.2615.26
#FFFFFF1.381.0021.0021.00
#00000015.2621.001.001.00
##00000015.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D948
Deuteranopia (green-blind)
#F5DE61
Tritanopia (blue-blind)
#F1D5C5
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e259;
/* rgb */ color: rgb(226, 226, 89);
/* oklch */ color: oklch(88.7% 0.157 109.2);
Tailwind
colors: {
  custom: {
    50: '#eeea8e',
    500: '#e2e259',
    950: '#000000',
  },
}
SCSS
$custom: #e2e259;
$custom-light: #eeea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e259",
  "rgb": {
    "r": 226,
    "g": 226,
    "b": 89
  },
  "hsl": {
    "h": 60,
    "s": 70.256,
    "l": 61.765
  },
  "oklch": {
    "l": 0.88748,
    "c": 0.15676,
    "h": 109.2
  },
  "luminance": 0.71283
}

Semantic roles & 50–950 ramp

primary
#E2E259
secondary
#3939A6
accent
#13D213
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E259

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

Preview Lab → · Contrast checker → · Palette generator →

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