#E2E562#E2E562

#E2E562 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.5% C 0.153 H 110.3°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#E2E562
RGBrgb(226, 229, 98)
HSLhsl(61, 72%, 64%)
HSVhsv(61, 57%, 90%)
CMYKcmyk(1.3%, 0%, 57.2%, 10.2%)
CIE-LABlab(88.49, -17.72, 62.06)
CIE-LCHlch(88.49, 64.54, 105.93°)
OKLaboklab(89.47% -0.0531 0.1431)
OKLCHoklch(89.47% 0.153 110.3)
XYZxyz(61.5896, 73.0907, 22.4164)
Luminance0.7309 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E562 #6562E5
analogous
#E5A762 #E2E562 #A1E562
triadic
#E2E562 #62E2E5 #E562E2
tetradic
#E2E562 #62E5A7 #6562E5 #E562A1
square
#E2E562 #62E5A7 #6562E5 #E562A1
split-complementary
#E2E562 #62A1E5 #A762E5
monochromatic
#ACB01D #D8DC2D #E2E562 #ECEE97 #F5F6CB

Accessibility & contrast

On white

1.34
#E2E562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#E2E562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E562
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E562#FFFFFF#000000##000000
##E2E5621.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DC54
Deuteranopia (green-blind)
#F7E06A
Tritanopia (blue-blind)
#F0D8C9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e562;
/* rgb */ color: rgb(226, 229, 98);
/* oklch */ color: oklch(89.5% 0.153 110.3);
Tailwind
colors: {
  custom: {
    50: '#eeed93',
    500: '#e2e562',
    950: '#000000',
  },
}
SCSS
$custom: #e2e562;
$custom-light: #eeed93;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e562",
  "rgb": {
    "r": 226,
    "g": 229,
    "b": 98
  },
  "hsl": {
    "h": 61.374,
    "s": 71.585,
    "l": 64.118
  },
  "oklch": {
    "l": 0.89466,
    "c": 0.15265,
    "h": 110.3
  },
  "luminance": 0.73089
}

Semantic roles & 50–950 ramp

primary
#E2E562
secondary
#3D3BB1
accent
#12D416
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E2E562

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

Preview Lab → · Contrast checker → · Palette generator →

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