#E2E752#E2E752

#E2E752 is a very light, vivid yellow. Relative luminance 0.739; OKLCH L 89.7% C 0.167 H 111.2°. Best body text is #000000 at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#E2E752
RGBrgb(226, 231, 82)
HSLhsl(62, 76%, 61%)
HSVhsv(62, 65%, 91%)
CMYKcmyk(2.2%, 0%, 64.5%, 9.4%)
CIE-LABlab(88.89, -19.73, 69.06)
CIE-LCHlch(88.89, 71.82, 105.95°)
OKLaboklab(89.74% -0.0604 0.1558)
OKLCHoklch(89.74% 0.167 111.2)
XYZxyz(61.4648, 73.9313, 19.0134)
Luminance0.7393 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E752 #5752E7
analogous
#E7A252 #E2E752 #98E752
triadic
#E2E752 #52E2E7 #E752E2
tetradic
#E2E752 #52E7A2 #5752E7 #E75298
square
#E2E752 #52E7A2 #5752E7 #E75298
split-complementary
#E2E752 #5298E7 #A252E7
monochromatic
#A3A717 #D7DD1F #E2E752 #EBEE88 #F4F6BD

Accessibility & contrast

On white

1.33
#E2E752 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.79
#E2E752 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E752
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E752#FFFFFF#000000##000000
##E2E7521.001.3315.7915.79
#FFFFFF1.331.0021.0021.00
#00000015.7921.001.001.00
##00000015.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DD3D
Deuteranopia (green-blind)
#F9E15C
Tritanopia (blue-blind)
#F1D9C9
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #e2e752;
/* rgb */ color: rgb(226, 231, 82);
/* oklch */ color: oklch(89.7% 0.167 111.2);
Tailwind
colors: {
  custom: {
    50: '#eeee8a',
    500: '#e2e752',
    950: '#000000',
  },
}
SCSS
$custom: #e2e752;
$custom-light: #eeee8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e752",
  "rgb": {
    "r": 226,
    "g": 231,
    "b": 82
  },
  "hsl": {
    "h": 62.013,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.89743,
    "c": 0.16706,
    "h": 111.2
  },
  "luminance": 0.7393
}

Semantic roles & 50–950 ramp

primary
#E2E752
secondary
#3834A9
accent
#0ED814
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E752

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

Preview Lab → · Contrast checker → · Palette generator →

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