#E2E948#E2E948

#E2E948 is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.1% C 0.176 H 111.9°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#E2E948
RGBrgb(226, 233, 72)
HSLhsl(63, 79%, 60%)
HSVhsv(63, 69%, 91%)
CMYKcmyk(3%, 0%, 69.1%, 8.6%)
CIE-LABlab(89.35, -21.24, 73.23)
CIE-LCHlch(89.35, 76.25, 106.17°)
OKLaboklab(90.09% -0.0656 0.163)
OKLCHoklch(90.09% 0.176 111.9)
XYZxyz(61.6746, 74.9159, 17.3410)
Luminance0.7491 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E948 #4F48E9
analogous
#E9A048 #E2E948 #91E948
triadic
#E2E948 #48E2E9 #E948E2
tetradic
#E2E948 #48E9A0 #4F48E9 #E94891
square
#E2E948 #48E9A0 #4F48E9 #E94891
split-complementary
#E2E948 #4891E9 #A048E9
monochromatic
#9DA314 #D1DA1A #E2E948 #EBF07F #F3F6B5

Accessibility & contrast

On white

1.31
#E2E948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.98
#E2E948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E948
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E948#FFFFFF#000000##000000
##E2E9481.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF2D
Deuteranopia (green-blind)
#FBE254
Tritanopia (blue-blind)
#F1DBC9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e948;
/* rgb */ color: rgb(226, 233, 72);
/* oklch */ color: oklch(90.1% 0.176 111.9);
Tailwind
colors: {
  custom: {
    50: '#efef85',
    500: '#e2e948',
    950: '#000000',
  },
}
SCSS
$custom: #e2e948;
$custom-light: #efef85;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e948",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 72
  },
  "hsl": {
    "h": 62.609,
    "s": 78.537,
    "l": 59.804
  },
  "oklch": {
    "l": 0.90092,
    "c": 0.1757,
    "h": 111.9
  },
  "luminance": 0.74914
}

Semantic roles & 50–950 ramp

primary
#E2E948
secondary
#3530A5
accent
#33F53B
background
#FFFFFC
surface
#FEFEF3
border
#D6D6CD
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E948

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

Preview Lab → · Contrast checker → · Palette generator →

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