#E2E952#E2E952

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

Color values

HEX#E2E952
RGBrgb(226, 233, 82)
HSLhsl(63, 77%, 62%)
HSVhsv(63, 65%, 91%)
CMYKcmyk(3%, 0%, 64.8%, 8.6%)
CIE-LABlab(89.42, -20.70, 69.60)
CIE-LCHlch(89.42, 72.62, 106.56°)
OKLaboklab(90.17% -0.0631 0.1569)
OKLCHoklch(90.17% 0.169 111.9)
XYZxyz(62.0277, 75.0572, 19.2010)
Luminance0.7506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E952 #5952E9
analogous
#E9A452 #E2E952 #97E952
triadic
#E2E952 #52E2E9 #E952E2
tetradic
#E2E952 #52E9A4 #5952E9 #E95297
square
#E2E952 #52E9A4 #5952E9 #E95297
split-complementary
#E2E952 #5297E9 #A452E9
monochromatic
#A4AB16 #D8E11D #E2E952 #EBF088 #F4F7BF

Accessibility & contrast

On white

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

On black

16.01
#E2E952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E952
16.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E952#FFFFFF#000000##000000
##E2E9521.001.3116.0116.01
#FFFFFF1.311.0021.0021.00
#00000016.0121.001.001.00
##00000016.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2e952;
/* rgb */ color: rgb(226, 233, 82);
/* oklch */ color: oklch(90.2% 0.169 111.9);
Tailwind
colors: {
  custom: {
    50: '#eeef8a',
    500: '#e2e952',
    950: '#000000',
  },
}
SCSS
$custom: #e2e952;
$custom-light: #eeef8a;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e952",
  "rgb": {
    "r": 226,
    "g": 233,
    "b": 82
  },
  "hsl": {
    "h": 62.781,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.90166,
    "c": 0.16914,
    "h": 111.9
  },
  "luminance": 0.75056
}

Semantic roles & 50–950 ramp

primary
#E2E952
secondary
#3933AC
accent
#0CDA15
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160C
muted
#85857F

Preview Lab

Preview with #E2E952

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

Preview Lab → · Contrast checker → · Palette generator →

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