#E2E56F#E2E56F

#E2E56F is a very light, vivid yellow. Relative luminance 0.734; OKLCH L 89.6% C 0.141 H 110.3°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#E2E56F
RGBrgb(226, 229, 111)
HSLhsl(62, 69%, 67%)
HSVhsv(62, 52%, 90%)
CMYKcmyk(1.3%, 0%, 51.5%, 10.2%)
CIE-LABlab(88.62, -16.71, 56.43)
CIE-LCHlch(88.62, 58.85, 106.50°)
OKLaboklab(89.61% -0.0489 0.1325)
OKLCHoklch(89.61% 0.141 110.3)
XYZxyz(62.2540, 73.3565, 25.9156)
Luminance0.7336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E56F #726FE5
analogous
#E5AD6F #E2E56F #A7E56F
triadic
#E2E56F #6FE2E5 #E56FE2
tetradic
#E2E56F #6FE5AD #726FE5 #E56FA7
square
#E2E56F #6FE5AD #726FE5 #E56FA7
split-complementary
#E2E56F #6FA7E5 #AD6FE5
monochromatic
#B4B821 #D8DC3B #E2E56F #ECEEA3 #F7F8D7

Accessibility & contrast

On white

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

On black

15.67
#E2E56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E56F
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E56F#FFFFFF#000000##000000
##E2E56F1.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4DC64
Deuteranopia (green-blind)
#F6E075
Tritanopia (blue-blind)
#EFD9CA
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e2e56f;
/* rgb */ color: rgb(226, 229, 111);
/* oklch */ color: oklch(89.6% 0.141 110.3);
Tailwind
colors: {
  custom: {
    50: '#eded9b',
    500: '#e2e56f',
    950: '#000000',
  },
}
SCSS
$custom: #e2e56f;
$custom-light: #eded9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e56f",
  "rgb": {
    "r": 226,
    "g": 229,
    "b": 111
  },
  "hsl": {
    "h": 61.525,
    "s": 69.412,
    "l": 66.667
  },
  "oklch": {
    "l": 0.89607,
    "c": 0.14118,
    "h": 110.3
  },
  "luminance": 0.73355
}

Semantic roles & 50–950 ramp

primary
#E2E56F
secondary
#4340B8
accent
#14D119
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E2E56F

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

Preview Lab → · Contrast checker → · Palette generator →

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