#E2E052#E2E052

#E2E052 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.3% C 0.160 H 108.5°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E2E052
RGBrgb(226, 224, 82)
HSLhsl(59, 71%, 60%)
HSVhsv(59, 64%, 89%)
CMYKcmyk(0%, 0.9%, 63.7%, 11.4%)
CIE-LABlab(87.04, -16.31, 67.14)
CIE-LCHlch(87.04, 69.09, 103.66°)
OKLaboklab(88.27% -0.0508 0.1517)
OKLCHoklch(88.27% 0.16 108.5)
XYZxyz(59.5447, 70.0910, 18.3733)
Luminance0.7009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E052 #5254E2
analogous
#E29852 #E2E052 #9CE252
triadic
#E2E052 #52E2E0 #E052E2
tetradic
#E2E052 #52E298 #5254E2 #E2529C
square
#E2E052 #52E298 #5254E2 #E2529C
split-complementary
#E2E052 #529CE2 #9852E2
monochromatic
#9F9D1B #D3D123 #E2E052 #EBE986 #F4F3BB

Accessibility & contrast

On white

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

On black

15.02
#E2E052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E052
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E052#FFFFFF#000000##000000
##E2E0521.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e052;
/* rgb */ color: rgb(226, 224, 82);
/* oklch */ color: oklch(88.3% 0.160 108.5);
Tailwind
colors: {
  custom: {
    50: '#eee989',
    500: '#e2e052',
    950: '#000000',
  },
}
SCSS
$custom: #e2e052;
$custom-light: #eee989;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e052",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 82
  },
  "hsl": {
    "h": 59.167,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.88267,
    "c": 0.15999,
    "h": 108.5
  },
  "luminance": 0.70089
}

Semantic roles & 50–950 ramp

primary
#E2E052
secondary
#3638A2
accent
#15D312
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E052

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

Preview Lab → · Contrast checker → · Palette generator →

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