#E2E056#E2E056

#E2E056 is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.3% C 0.157 H 108.4°. Best body text is #000000 at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#E2E056
RGBrgb(226, 224, 86)
HSLhsl(59, 71%, 61%)
HSVhsv(59, 62%, 89%)
CMYKcmyk(0%, 0.9%, 61.9%, 11.4%)
CIE-LABlab(87.07, -16.07, 65.56)
CIE-LCHlch(87.07, 67.50, 103.77°)
OKLaboklab(88.3% -0.0496 0.149)
OKLCHoklch(88.3% 0.157 108.4)
XYZxyz(59.7013, 70.1537, 19.1984)
Luminance0.7015 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E056 #5658E2
analogous
#E29A56 #E2E056 #9EE256
triadic
#E2E056 #56E2E0 #E056E2
tetradic
#E2E056 #56E29A #5658E2 #E2569E
square
#E2E056 #56E29A #5658E2 #E2569E
split-complementary
#E2E056 #569EE2 #9A56E2
monochromatic
#A2A01C #D6D425 #E2E056 #EBEA8A #F4F3BE

Accessibility & contrast

On white

1.40
#E2E056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.03
#E2E056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E056
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E056#FFFFFF#000000##000000
##E2E0561.001.4015.0315.03
#FFFFFF1.401.0021.0021.00
#00000015.0321.001.001.00
##00000015.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F1D745
Deuteranopia (green-blind)
#F3DC5F
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2e056;
/* rgb */ color: rgb(226, 224, 86);
/* oklch */ color: oklch(88.3% 0.157 108.4);
Tailwind
colors: {
  custom: {
    50: '#eee98c',
    500: '#e2e056',
    950: '#000000',
  },
}
SCSS
$custom: #e2e056;
$custom-light: #eee98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e056",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 86
  },
  "hsl": {
    "h": 59.143,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.88301,
    "c": 0.15704,
    "h": 108.4
  },
  "luminance": 0.70152
}

Semantic roles & 50–950 ramp

primary
#E2E056
secondary
#3839A5
accent
#16D313
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E056

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

Preview Lab → · Contrast checker → · Palette generator →

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