#E2E954#E2E954

#E2E954 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.2% C 0.168 H 111.9°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#E2E954
RGBrgb(226, 233, 84)
HSLhsl(63, 77%, 62%)
HSVhsv(63, 64%, 91%)
CMYKcmyk(3%, 0%, 63.9%, 8.6%)
CIE-LABlab(89.43, -20.58, 68.84)
CIE-LCHlch(89.43, 71.85, 106.64°)
OKLaboklab(90.18% -0.0626 0.1556)
OKLCHoklch(90.18% 0.168 111.9)
XYZxyz(62.1050, 75.0881, 19.6077)
Luminance0.7509 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E954 #5B54E9
analogous
#E9A654 #E2E954 #97E954
triadic
#E2E954 #54E2E9 #E954E2
tetradic
#E2E954 #54E9A6 #5B54E9 #E95497
square
#E2E954 #54E9A6 #5B54E9 #E95497
split-complementary
#E2E954 #5497E9 #A654E9
monochromatic
#A5AC16 #D9E21E #E2E954 #EBF08A #F4F7C0

Accessibility & contrast

On white

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

On black

16.02
#E2E954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E954
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E954#FFFFFF#000000##000000
##E2E9541.001.3116.0216.02
#FFFFFF1.311.0021.0021.00
#00000016.0221.001.001.00
##00000016.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FADF40
Deuteranopia (green-blind)
#FBE35E
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #e2e954;
/* rgb */ color: rgb(226, 233, 84);
/* oklch */ color: oklch(90.2% 0.168 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef8b',
    500: '#e2e954',
    950: '#000000',
  },
}
SCSS
$custom: #e2e954;
$custom-light: #eeef8b;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e954",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 84
  },
  "hsl": {
    "h": 62.819,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.90183,
    "c": 0.16772,
    "h": 111.9
  },
  "luminance": 0.75087
}

Semantic roles & 50–950 ramp

primary
#E2E954
secondary
#3934AD
accent
#0CD916
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E954

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

Preview Lab → · Contrast checker → · Palette generator →

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