#E2E848#E2E848

#E2E848 is a very light, vivid yellow. Relative luminance 0.744; OKLCH L 89.9% C 0.175 H 111.6°. Best body text is #000000 at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#E2E848
RGBrgb(226, 232, 72)
HSLhsl(62, 78%, 60%)
HSVhsv(62, 69%, 91%)
CMYKcmyk(2.6%, 0%, 69%, 9%)
CIE-LABlab(89.09, -20.76, 72.97)
CIE-LCHlch(89.09, 75.87, 105.88°)
OKLaboklab(89.88% -0.0642 0.1625)
OKLCHoklch(89.88% 0.175 111.6)
XYZxyz(61.3923, 74.3514, 17.2469)
Luminance0.7435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E848 #4E48E8
analogous
#E89E48 #E2E848 #92E848
triadic
#E2E848 #48E2E8 #E848E2
tetradic
#E2E848 #48E89E #4E48E8 #E84892
square
#E2E848 #48E89E #4E48E8 #E84892
split-complementary
#E2E848 #4892E8 #9E48E8
monochromatic
#9CA114 #D1D81B #E2E848 #EBEF7E #F3F6B5

Accessibility & contrast

On white

1.32
#E2E848 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.87
#E2E848 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E848
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E848#FFFFFF#000000##000000
##E2E8481.001.3215.8715.87
#FFFFFF1.321.0021.0021.00
#00000015.8721.001.001.00
##00000015.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADE2D
Deuteranopia (green-blind)
#FAE254
Tritanopia (blue-blind)
#F1DAC9
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #e2e848;
/* rgb */ color: rgb(226, 232, 72);
/* oklch */ color: oklch(89.9% 0.175 111.6);
Tailwind
colors: {
  custom: {
    50: '#efef85',
    500: '#e2e848',
    950: '#000000',
  },
}
SCSS
$custom: #e2e848;
$custom-light: #efef85;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e848",
  "rgb": {
    "r": 226,
    "g": 232,
    "b": 72
  },
  "hsl": {
    "h": 62.25,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.8988,
    "c": 0.17469,
    "h": 111.6
  },
  "luminance": 0.7435
}

Semantic roles & 50–950 ramp

primary
#E2E848
secondary
#3530A4
accent
#34F43B
background
#FFFFFC
surface
#FEFEF3
border
#D6D6CD
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E848

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

Preview Lab → · Contrast checker → · Palette generator →

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