#E2E332#E2E332

#E2E332 is a very light, vivid yellow. Relative luminance 0.713; OKLCH L 88.7% C 0.181 H 109.9°. Best body text is #000000 at 15.27:1 contrast (WCAG AA passes).

Color values

HEX#E2E332
RGBrgb(226, 227, 50)
HSLhsl(60, 76%, 54%)
HSVhsv(60, 78%, 89%)
CMYKcmyk(0.4%, 0%, 78%, 11%)
CIE-LABlab(87.65, -19.25, 78.59)
CIE-LCHlch(87.65, 80.92, 103.77°)
OKLaboklab(88.69% -0.0619 0.1706)
OKLCHoklch(88.69% 0.181 109.9)
XYZxyz(59.4111, 71.3390, 13.6572)
Luminance0.7134 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E332 #3332E3
analogous
#E38C32 #E2E332 #8AE332
triadic
#E2E332 #32E2E3 #E332E2
tetradic
#E2E332 #32E38C #3332E3 #E3328A
square
#E2E332 #32E38C #3332E3 #E3328A
split-complementary
#E2E332 #328AE3 #8C32E3
monochromatic
#878813 #BDBE1A #E2E332 #EAEA68 #F1F29E

Accessibility & contrast

On white

1.38
#E2E332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.27
#E2E332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E332
15.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E332#FFFFFF#000000##000000
##E2E3321.001.3815.2715.27
#FFFFFF1.381.0021.0021.00
#00000015.2721.001.001.00
##00000015.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6D900
Deuteranopia (green-blind)
#F7DE42
Tritanopia (blue-blind)
#F2D4C3
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e332;
/* rgb */ color: rgb(226, 227, 50);
/* oklch */ color: oklch(88.7% 0.181 109.9);
Tailwind
colors: {
  custom: {
    50: '#efeb7a',
    500: '#e2e332',
    950: '#000000',
  },
}
SCSS
$custom: #e2e332;
$custom-light: #efeb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e332",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 50
  },
  "hsl": {
    "h": 60.339,
    "s": 75.966,
    "l": 54.314
  },
  "oklch": {
    "l": 0.88693,
    "c": 0.18147,
    "h": 109.9
  },
  "luminance": 0.71337
}

Semantic roles & 50–950 ramp

primary
#E2E332
secondary
#2C2B8E
accent
#35F336
background
#FFFEFB
surface
#FFFDF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2E332

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

Preview Lab → · Contrast checker → · Palette generator →

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