#E2E348#E2E348

#E2E348 is a very light, vivid yellow. Relative luminance 0.716; OKLCH L 88.8% C 0.170 H 109.8°. Best body text is #000000 at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#E2E348
RGBrgb(226, 227, 72)
HSLhsl(60, 73%, 59%)
HSVhsv(60, 68%, 89%)
CMYKcmyk(0.4%, 0%, 68.3%, 11%)
CIE-LABlab(87.76, -18.33, 71.67)
CIE-LCHlch(87.76, 73.97, 104.35°)
OKLaboklab(88.82% -0.0574 0.1597)
OKLCHoklch(88.82% 0.17 109.8)
XYZxyz(60.0049, 71.5765, 16.7844)
Luminance0.7157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E348 #4948E3
analogous
#E39648 #E2E348 #94E348
triadic
#E2E348 #48E2E3 #E348E2
tetradic
#E2E348 #48E396 #4948E3 #E34894
square
#E2E348 #48E396 #4948E3 #E34894
split-complementary
#E2E348 #4894E3 #9648E3
monochromatic
#989917 #CDCE20 #E2E348 #EAEB7D #F3F3B2

Accessibility & contrast

On white

1.37
#E2E348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.32
#E2E348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E348
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E348#FFFFFF#000000##000000
##E2E3481.001.3715.3215.32
#FFFFFF1.371.0021.0021.00
#00000015.3221.001.001.00
##00000015.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DA2F
Deuteranopia (green-blind)
#F6DE53
Tritanopia (blue-blind)
#F2D5C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e2e348;
/* rgb */ color: rgb(226, 227, 72);
/* oklch */ color: oklch(88.8% 0.170 109.8);
Tailwind
colors: {
  custom: {
    50: '#efeb84',
    500: '#e2e348',
    950: '#000000',
  },
}
SCSS
$custom: #e2e348;
$custom-light: #efeb84;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e348",
  "rgb": {
    "r": 226,
    "g": 227,
    "b": 72
  },
  "hsl": {
    "h": 60.387,
    "s": 73.46,
    "l": 58.627
  },
  "oklch": {
    "l": 0.88822,
    "c": 0.16971,
    "h": 109.8
  },
  "luminance": 0.71575
}

Semantic roles & 50–950 ramp

primary
#E2E348
secondary
#33329D
accent
#38F039
background
#FFFEFC
surface
#FEFDF3
border
#D6D5CD
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E348

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

Preview Lab → · Contrast checker → · Palette generator →

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